diff --git a/auto-complete.js b/auto-complete.js index 2f5a88c..4f69b21 100644 --- a/auto-complete.js +++ b/auto-complete.js @@ -182,7 +182,7 @@ var autoComplete = (function(){ } } }; - addEvent(that, 'keyup', that.keyupHandler); + addEvent(that, 'input', that.keyupHandler); that.focusHandler = function(e){ that.last_val = '\n';