]> source.dussan.org Git - jquery-ui.git/commitdiff
Selectmenu: use outerWidth for menu width calculation
authorFelix Nagel <info@felixnagel.com>
Mon, 29 Apr 2013 21:13:26 +0000 (23:13 +0200)
committerFelix Nagel <info@felixnagel.com>
Mon, 29 Apr 2013 21:13:26 +0000 (23:13 +0200)
ui/jquery.ui.selectmenu.js

index 4ec8fcd8df7f0e8b15de4a8a4382946bc2437d19..99c314f4841b770701fb1e663e7c0f2386534b93 100644 (file)
@@ -114,7 +114,7 @@ $.widget( "ui.selectmenu", {
                // Wrap menu
                this.menuWrap = $( "<div>", {
                                "class": "ui-selectmenu-menu",
-                               width: this.button.outerWidth()
+                               outerWidth: this.button.outerWidth()
                        })
                        .append( this.menu )
                        .appendTo( this._appendTo() );