From 1e68aab3fcc0bdc6a02228bb6d39a558de0706c8 Mon Sep 17 00:00:00 2001 From: Martin Pfund Date: Fri, 10 Nov 2017 13:05:37 +0100 Subject: [PATCH 1/2] Provide possibility to manually hide all elements --- auto-complete.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/auto-complete.js b/auto-complete.js index 2f5a88c..7b6922a 100644 --- a/auto-complete.js +++ b/auto-complete.js @@ -191,6 +191,13 @@ var autoComplete = (function(){ if (!o.minChars) addEvent(that, 'focus', that.focusHandler); } + this.hideAll = function() { + for (var i=0; i Date: Fri, 10 Nov 2017 13:06:33 +0100 Subject: [PATCH 2/2] Update auto-complete.js --- auto-complete.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/auto-complete.js b/auto-complete.js index 7b6922a..2888828 100644 --- a/auto-complete.js +++ b/auto-complete.js @@ -191,12 +191,12 @@ var autoComplete = (function(){ if (!o.minChars) addEvent(that, 'focus', that.focusHandler); } - this.hideAll = function() { + this.hideAll = function() { for (var i=0; i