Skip to content

Commit e3488f7

Browse files
author
SimonSteinberger
committed
Fixed a suggestions box scroll issue in IE.
1 parent 839fd1e commit e3488f7

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
@@ -159,7 +159,7 @@ var autoComplete = (function(){
159159

160160
that.keyupHandler = function(e){
161161
var key = window.event ? e.keyCode : e.which;
162-
if ((key < 35 || key > 40) && key != 13 && key != 27) {
162+
if (!key || (key < 35 || key > 40) && key != 13 && key != 27) {
163163
var val = that.value;
164164
if (val.length >= o.minChars) {
165165
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)