Skip to content

Commit ed01f05

Browse files
author
SimonSteinberger
committed
1 parent 224ba8a commit ed01f05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

auto-complete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ var autoComplete = (function(){
156156

157157
that.keyupHandler = function(e){
158158
var key = window.event ? e.keyCode : e.which;
159-
if (key != 38 && key != 40 && key != 37 && key != 39 && key != 13 && key != 27) {
159+
if ((key < 35 || key > 40) && key != 13 && key != 27) {
160160
var val = that.value;
161161
if (val.length >= o.minChars) {
162162
if (val != that.last_val) {

auto-complete.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)