We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7140074 commit d83440eCopy full SHA for d83440e
src/jquery.multiselect.js
@@ -445,7 +445,8 @@
445
// set menu width
446
_setMenuWidth: function() {
447
var m = this.menu;
448
- m.outerWidth(this.options.menuWidth || this.button.outerWidth());
+ var width = (this.button.outerWidth() <= 0) ? this.options.minWidth : this.button.outerWidth();
449
+ m.outerWidth(this.options.menuWidth || width);
450
},
451
452
// move up or down within the menu
0 commit comments