mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: update button width on refresh
This commit is contained in:
parent
327bcbae8c
commit
06bcd8eb62
1
ui/jquery.ui.selectmenu.js
vendored
1
ui/jquery.ui.selectmenu.js
vendored
@ -164,6 +164,7 @@ $.widget( "ui.selectmenu", {
|
||||
refresh: function() {
|
||||
this._refreshMenu();
|
||||
this._setText( this.buttonText, this._getSelectedItem().text() );
|
||||
this._setOption( "width", this.options.width );
|
||||
},
|
||||
|
||||
_refreshMenu: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user