projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e598f6
)
Fixed none cleared valid hints #427.
author
Daniel Carl
<danielcarl@gmx.de>
Sat, 8 Jul 2017 22:13:22 +0000
(
00:13
+0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Sat, 8 Jul 2017 22:13:22 +0000
(
00:13
+0200)
src/scripts/hints.js
patch
|
blob
|
history
diff --git
a/src/scripts/hints.js
b/src/scripts/hints.js
index
f6f3559
..
e75afcb
100644
(file)
--- 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++) {