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

Merge pull request #632 from crueber/patch-1

Update select2.js
This commit is contained in:
Igor Vaynberg 2012-12-10 08:56:06 -08:00
commit c135db876e

View File

@ -2210,6 +2210,11 @@ the specific language governing permissions and limitations under the Apache Lic
if (searchWidth < 40) {
searchWidth = maxWidth - sideBorderPadding;
}
if (searchWidth <= 0) {
searchWidth = minimumWidth
}
this.search.width(searchWidth);
},