Skip to content

Commit 7e43405

Browse files
committed
Selectmenu: Style updates
Ref #14246 Ref gh-1588
1 parent 1d572f0 commit 7e43405

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tests/unit/selectmenu/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ common.testWidget( "selectmenu", {
2121
},
2222
width: false,
2323

24-
// callbacks
24+
// Callbacks
2525
change: null,
2626
close: null,
2727
create: null,

ui/widgets/selectmenu.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ return $.widget( "ui.selectmenu", {
5858
},
5959
width: false,
6060

61-
// callbacks
61+
// Callbacks
6262
change: null,
6363
close: null,
6464
focus: null,
@@ -169,7 +169,7 @@ return $.widget( "ui.selectmenu", {
169169
select: function( event, ui ) {
170170
event.preventDefault();
171171

172-
// support: IE8
172+
// Support: IE8
173173
// If the item was selected via a click, the text selection
174174
// will be destroyed in IE
175175
that._setSelection();
@@ -410,12 +410,12 @@ return $.widget( "ui.selectmenu", {
410410
selection.removeAllRanges();
411411
selection.addRange( this.range );
412412

413-
// support: IE8
413+
// Support: IE8
414414
} else {
415415
this.range.select();
416416
}
417417

418-
// support: IE
418+
// Support: IE
419419
// Setting the text selection kills the button focus in IE, but
420420
// restoring the focus doesn't kill the selection.
421421
this.button.focus();
@@ -446,7 +446,7 @@ return $.widget( "ui.selectmenu", {
446446
this.range = selection.getRangeAt( 0 );
447447
}
448448

449-
// support: IE8
449+
// Support: IE8
450450
} else {
451451
this.range = document.selection.createRange();
452452
}
@@ -638,7 +638,7 @@ return $.widget( "ui.selectmenu", {
638638
this.menu.outerWidth( Math.max(
639639
this.button.outerWidth(),
640640

641-
// support: IE10
641+
// Support: IE10
642642
// IE10 wraps long text (possibly a rounding bug)
643643
// so we add 1px to avoid the wrapping
644644
this.menu.width( "" ).outerWidth() + 1

0 commit comments

Comments
 (0)