1
0
mirror of synced 2025-03-10 22:56:12 +03:00

Revert "realign dropdown when search box moves to new line. closes #43"

This reverts commit 095cdda05e8f53b9b77abc1956fad588e2afd3e8.
This commit is contained in:
Igor Vaynberg 2012-04-26 19:29:28 -07:00
parent 095cdda05e
commit b96079fef6

View File

@ -1237,6 +1237,7 @@
this.addSelectedChoice(data);
if (this.select) { this.postprocessResults(); }
if (this.opts.closeOnSelect) {
this.close();
this.search.width(10);
@ -1355,9 +1356,6 @@
searchWidth = maxWidth - getSideBorderPadding(this.search);
}
this.search.width(searchWidth);
// in case the search box was pushed to the next line realign the dropdown
if (this.opened()) { this.alignDropdown(); }
},
getVal: function () {