From 916038a6ffde23f59b78328ead4aaef03353ae72 Mon Sep 17 00:00:00 2001 From: Georgi Stoilov Date: Wed, 11 Apr 2018 16:42:05 +0300 Subject: [PATCH] Fix bug in Android Firefox when keyup event is not fired. --- auto-complete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';