change condition to use length
This commit is contained in:
parent
e3751422f0
commit
796661a11d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user