diff options
Diffstat (limited to 'jquery.multiple.select.js')
-rw-r--r-- | jquery.multiple.select.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jquery.multiple.select.js b/jquery.multiple.select.js index 5a7c4ee..b8b8d16 100644 --- a/jquery.multiple.select.js +++ b/jquery.multiple.select.js @@ -28,7 +28,7 @@ this.$choice.css('width', $el.width() + 'px') .find('span').css('width', ($el.width() - 28) + 'px'); this.$drop.css({ - width: $el.width() + 'px' + width: (options.width || $el.width()) + 'px' }); $('body').click(function(e) { @@ -310,6 +310,7 @@ multiple: false, multipleWidth: 80, filter: false, + width: undefined, maxHeight: 250, onOpen: function() {return false;}, |