diff options
author | Felix Nagel <info@felixnagel.com> | 2013-12-05 22:11:28 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-12-07 19:10:50 +0100 |
commit | 06bcd8eb62a9c5662efb7fc1b77f2e82c8061b60 (patch) | |
tree | e4beefd09611e92e1bf702ba4c455d66469fb34d | |
parent | 327bcbae8c7ee3021325e27136a258a47488f847 (diff) | |
download | jquery-ui-06bcd8eb62a9c5662efb7fc1b77f2e82c8061b60.tar.gz jquery-ui-06bcd8eb62a9c5662efb7fc1b77f2e82c8061b60.zip |
Selectmenu: update button width on refresh
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index c8e2975e4..2c07e619a 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -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() { |