diff options
author | Daniel Carl <danielcarl@gmx.de> | 2017-07-09 00:13:22 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2017-07-09 00:13:22 +0200 |
commit | 99ed310f670f57e172f0a402e378552021c76a74 (patch) | |
tree | e218a48ce6c33c072567639e304408774c8df389 /src/scripts | |
parent | 3e598f6b7fb361126b3a84a27515942367b8fe36 (diff) |
Fixed none cleared valid hints #427.
Diffstat (limited to 'src/scripts')
-rw-r--r-- | src/scripts/hints.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scripts/hints.js b/src/scripts/hints.js index f6f3559..e75afcb 100644 --- a/src/scripts/hints.js +++ b/src/scripts/hints.js @@ -241,7 +241,6 @@ var hints = Object.freeze((function(){ var i, hint, newIdx, matcher = getMatcher(filterText); - /* clear the array of valid hints */ var hintCount = 0, candidates = []; @@ -257,6 +256,8 @@ var hints = Object.freeze((function(){ } } + /* clear the array of valid hints */ + validHints = []; /* Now we can assigne the hint labels and check if hose match. */ var labeler = config.getHintLabeler(hintCount); for (i = 0; i < candidates.length; i++) { |