diff options
| -rw-r--r-- | linkHints.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linkHints.js b/linkHints.js index db79b782..cff513db 100644 --- a/linkHints.js +++ b/linkHints.js @@ -428,6 +428,9 @@ function initializeLinkHints() { matchString = linkHints.hintKeystrokeQueue.join(""); linksMatched = linkHints.highlightLinkMatches(matchString); } else { + // since we might renumber the hints, the current hintKeyStrokeQueue + // should be rendered invalid (i.e. reset). + linkHints.hintKeystrokeQueue = []; linkHints.linkTextKeystrokeQueue.push(keyChar); matchString = linkHints.linkTextKeystrokeQueue.join(""); linksMatched = linkHints.filterLinkHints(matchString); |
