Merge pull request #1617 from forby/master
Fix missing dropdownCssClass on init
This commit is contained in:
commit
236fb0ea23
@ -692,11 +692,12 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
this.container.data("select2", this);
|
this.container.data("select2", this);
|
||||||
|
|
||||||
this.dropdown = this.container.find(".select2-drop");
|
this.dropdown = this.container.find(".select2-drop");
|
||||||
this.dropdown.addClass(evaluate(opts.dropdownCssClass));
|
|
||||||
this.dropdown.data("select2", this);
|
|
||||||
|
|
||||||
syncCssClasses(this.dropdown, this.opts.element, this.opts.adaptDropdownCssClass);
|
syncCssClasses(this.dropdown, this.opts.element, this.opts.adaptDropdownCssClass);
|
||||||
|
|
||||||
|
this.dropdown.addClass(evaluate(opts.dropdownCssClass));
|
||||||
|
this.dropdown.data("select2", this);
|
||||||
|
|
||||||
this.results = results = this.container.find(resultsSelector);
|
this.results = results = this.container.find(resultsSelector);
|
||||||
this.search = search = this.container.find("input.select2-input");
|
this.search = search = this.container.find("input.select2-input");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user