1
0
mirror of synced 2024-11-25 22:36:03 +03:00

change condition to use length

This commit is contained in:
Dawn Hammond 2014-04-28 16:49:08 -05:00
parent e3751422f0
commit 796661a11d

View File

@ -2637,7 +2637,7 @@ the specific language governing permissions and limitations under the Apache Lic
.attr('for', this.search.attr('id'));
this.search.on("input paste", this.bind(function() {
if (this.search.attr('placeholder') && !this.search.val()) return;
if (this.search.attr('placeholder') && this.search.val().length == 0) return;
if (!this.isInterfaceEnabled()) return;
if (!this.opened()) {
this.open();