Skip to content

Commit 06bcd8e

Browse files
committed
Selectmenu: update button width on refresh
1 parent 327bcba commit 06bcd8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/jquery.ui.selectmenu.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ $.widget( "ui.selectmenu", {
164164
refresh: function() {
165165
this._refreshMenu();
166166
this._setText( this.buttonText, this._getSelectedItem().text() );
167+
this._setOption( "width", this.options.width );
167168
},
168169

169170
_refreshMenu: function() {

0 commit comments

Comments
 (0)