Skip to content

Commit 5ea0b95

Browse files
committed
Merge pull request select2#1601 from Streid/master
Not working adaptDropdownCssClass callback.
2 parents 08dc4d3 + e4c1e06 commit 5ea0b95

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

select2.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,8 @@ the specific language governing permissions and limitations under the Apache Lic
694694
this.dropdown = this.container.find(".select2-drop");
695695
this.dropdown.addClass(evaluate(opts.dropdownCssClass));
696696
this.dropdown.data("select2", this);
697+
698+
syncCssClasses(this.dropdown, this.opts.element, this.opts.adaptDropdownCssClass);
697699

698700
this.results = results = this.container.find(resultsSelector);
699701
this.search = search = this.container.find("input.select2-input");

0 commit comments

Comments
 (0)