diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-21 00:06:35 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-21 08:06:22 -0400 |
commit | 7e434052696ddf305665816a41c8ec8b4f7c056e (patch) | |
tree | c8deb5237978d116674f8b432176696761585e4e /ui/widgets | |
parent | 1d572f051a52c8e4c589a1554e519e81d6c3d7a8 (diff) | |
download | jquery-ui-7e434052696ddf305665816a41c8ec8b4f7c056e.tar.gz jquery-ui-7e434052696ddf305665816a41c8ec8b4f7c056e.zip |
Selectmenu: Style updates
Ref #14246
Ref gh-1588
Diffstat (limited to 'ui/widgets')
-rw-r--r-- | ui/widgets/selectmenu.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/widgets/selectmenu.js b/ui/widgets/selectmenu.js index bf415a826..273e68594 100644 --- a/ui/widgets/selectmenu.js +++ b/ui/widgets/selectmenu.js @@ -58,7 +58,7 @@ return $.widget( "ui.selectmenu", { }, width: false, - // callbacks + // Callbacks change: null, close: null, focus: null, @@ -169,7 +169,7 @@ return $.widget( "ui.selectmenu", { select: function( event, ui ) { event.preventDefault(); - // support: IE8 + // Support: IE8 // If the item was selected via a click, the text selection // will be destroyed in IE that._setSelection(); @@ -410,12 +410,12 @@ return $.widget( "ui.selectmenu", { selection.removeAllRanges(); selection.addRange( this.range ); - // support: IE8 + // Support: IE8 } else { this.range.select(); } - // support: IE + // Support: IE // Setting the text selection kills the button focus in IE, but // restoring the focus doesn't kill the selection. this.button.focus(); @@ -446,7 +446,7 @@ return $.widget( "ui.selectmenu", { this.range = selection.getRangeAt( 0 ); } - // support: IE8 + // Support: IE8 } else { this.range = document.selection.createRange(); } @@ -638,7 +638,7 @@ return $.widget( "ui.selectmenu", { this.menu.outerWidth( Math.max( this.button.outerWidth(), - // support: IE10 + // Support: IE10 // IE10 wraps long text (possibly a rounding bug) // so we add 1px to avoid the wrapping this.menu.width( "" ).outerWidth() + 1 |