diff options
| author | jez | 2011-01-31 15:35:00 +0800 |
|---|---|---|
| committer | jez | 2011-01-31 15:35:00 +0800 |
| commit | 6d13f4da8e163356d19690ab5c7029e05c780ce3 (patch) | |
| tree | e6fac05623bdf66e3305205194f40a2a05ece55a | |
| parent | 10769ec187fb90070750896ec357fc360701061d (diff) | |
| download | vimium-6d13f4da8e163356d19690ab5c7029e05c780ce3.tar.bz2 | |
Deactivate hintKeystrokeQueue.
| -rw-r--r-- | linkHints.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/linkHints.js b/linkHints.js index 7627c1fc..888465af 100644 --- a/linkHints.js +++ b/linkHints.js @@ -300,7 +300,6 @@ var linkHints = { that.hintMarkerContainingDiv.parentNode.removeChild(that.hintMarkerContainingDiv); that.hintMarkerContainingDiv = null; that.hintMarkers = []; - that.hintKeystrokeQueue = []; document.removeEventListener("keydown", that.onKeyDownInMode, true); document.removeEventListener("keyup", that.onKeyUpInMode, true); that.modeActivated = false; @@ -401,7 +400,12 @@ var alphabetHints = { }); } return { 'linksMatched': linksMatched }; + }, + + deactivate: function() { + this.hintKeystrokeQueue = []; } + }; var filterHints = { @@ -534,6 +538,7 @@ var filterHints = { }, deactivate: function(delay, callback) { + this.hintKeystrokeQueue = []; this.linkTextKeystrokeQueue = []; this.labelMap = {}; } |
