We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b85974 commit 22b3261Copy full SHA for 22b3261
1 file changed
select2.js
@@ -895,11 +895,11 @@
895
this.dropdown.removeClass("select2-drop-above");
896
}
897
898
- css = {
899
- top:dropTop,
900
- left:offset.left,
901
- width:width
902
- };
+ css = $.extend({
+ top: dropTop,
+ left: offset.left,
+ width: width
+ }, evaluate(this.opts.dropdownCss));
903
904
this.dropdown.css(css);
905
},
@@ -979,7 +979,6 @@
979
this.dropdown.show();
980
981
this.positionDropdown();
982
- this.dropdown.css(evaluate(this.opts.dropdownCss));
983
this.dropdown.addClass("select2-drop-active");
984
985
this.ensureHighlightVisible();
0 commit comments