From 06bcd8eb62a9c5662efb7fc1b77f2e82c8061b60 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Thu, 5 Dec 2013 22:11:28 +0100 Subject: [PATCH] Selectmenu: update button width on refresh --- ui/jquery.ui.selectmenu.js | 1 + 1 file changed, 1 insertion(+) 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() { -- 2.39.5