1
0
mirror of synced 2024-11-22 21:16:10 +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')); .attr('for', this.search.attr('id'));
this.search.on("input paste", this.bind(function() { 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.isInterfaceEnabled()) return;
if (!this.opened()) { if (!this.opened()) {
this.open(); this.open();