diff --git a/select2.js b/select2.js index 7f3cbe37..7ac2f77d 100755 --- a/select2.js +++ b/select2.js @@ -539,6 +539,7 @@ formatInputTooShort: function (input, min) { return "Please enter " + (min - input.length) + " more characters"; }, minimumResultsForSearch: 0, minimumInputLength: 0, + zIndex: 2000, id: function (e) { return e.id; }, matcher: function(term, text) { return text.toUpperCase().indexOf(term.toUpperCase()) >= 0; @@ -653,7 +654,8 @@ this.dropdown.css({ top: offset.top + height, left: offset.left, - width: width + width: width, + "z-index": this.opts.zIndex }); },