We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
String.prototype.trim()
1 parent 4e39014 commit 3606e1cCopy full SHA for 3606e1c
ui/widgets/controlgroup.js
@@ -234,7 +234,7 @@ return $.widget( "ui.controlgroup", {
234
var result = {};
235
$.each( classes, function( key ) {
236
var current = instance.options.classes[ key ] || "";
237
- current = current.replace( controlgroupCornerRegex, "" ).trim();
+ current = $.trim( current.replace( controlgroupCornerRegex, "" ) );
238
result[ key ] = ( current + " " + classes[ key ] ).replace( /\s+/g, " " );
239
} );
240
return result;
0 commit comments