1
0
mirror of synced 2024-11-22 21:16:10 +03:00

Merge pull request #1601 from Streid/master

Not working adaptDropdownCssClass callback.
This commit is contained in:
Igor Vaynberg 2013-08-09 08:54:20 -07:00
commit 5ea0b956b5

View File

@ -695,6 +695,8 @@ the specific language governing permissions and limitations under the Apache Lic
this.dropdown.addClass(evaluate(opts.dropdownCssClass)); this.dropdown.addClass(evaluate(opts.dropdownCssClass));
this.dropdown.data("select2", this); this.dropdown.data("select2", this);
syncCssClasses(this.dropdown, this.opts.element, this.opts.adaptDropdownCssClass);
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");