Selectmenu: use outerWidth for menu width calculation

This commit is contained in:
Felix Nagel 2013-04-29 23:13:26 +02:00
parent 666927ba91
commit b8339ebc46

View 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() );