@@ -58,7 +58,7 @@ return $.widget( "ui.selectmenu", {
58
58
} ,
59
59
width : false ,
60
60
61
- // callbacks
61
+ // Callbacks
62
62
change : null ,
63
63
close : null ,
64
64
focus : null ,
@@ -169,7 +169,7 @@ return $.widget( "ui.selectmenu", {
169
169
select : function ( event , ui ) {
170
170
event . preventDefault ( ) ;
171
171
172
- // support : IE8
172
+ // Support : IE8
173
173
// If the item was selected via a click, the text selection
174
174
// will be destroyed in IE
175
175
that . _setSelection ( ) ;
@@ -410,12 +410,12 @@ return $.widget( "ui.selectmenu", {
410
410
selection . removeAllRanges ( ) ;
411
411
selection . addRange ( this . range ) ;
412
412
413
- // support : IE8
413
+ // Support : IE8
414
414
} else {
415
415
this . range . select ( ) ;
416
416
}
417
417
418
- // support : IE
418
+ // Support : IE
419
419
// Setting the text selection kills the button focus in IE, but
420
420
// restoring the focus doesn't kill the selection.
421
421
this . button . focus ( ) ;
@@ -446,7 +446,7 @@ return $.widget( "ui.selectmenu", {
446
446
this . range = selection . getRangeAt ( 0 ) ;
447
447
}
448
448
449
- // support : IE8
449
+ // Support : IE8
450
450
} else {
451
451
this . range = document . selection . createRange ( ) ;
452
452
}
@@ -638,7 +638,7 @@ return $.widget( "ui.selectmenu", {
638
638
this . menu . outerWidth ( Math . max (
639
639
this . button . outerWidth ( ) ,
640
640
641
- // support : IE10
641
+ // Support : IE10
642
642
// IE10 wraps long text (possibly a rounding bug)
643
643
// so we add 1px to avoid the wrapping
644
644
this . menu . width ( "" ) . outerWidth ( ) + 1
0 commit comments