Fixed undefined keycode build error

This commit is contained in:
Phil Hughes 2016-10-14 09:34:53 +01:00
parent 88996deba5
commit ebddb5f329

View file

@ -43,9 +43,6 @@
} else if (this.input.val() === "" && $inputContainer.hasClass(HAS_VALUE_CLASS)) {
$inputContainer.removeClass(HAS_VALUE_CLASS);
}
if (keyCode === 13 && !options.elIsInput) {
return false;
}
// Only filter asynchronously only if option remote is set
if (this.options.remote) {
clearTimeout(timeout);