aboutsummaryrefslogtreecommitdiffstats
path: root/linkHints.js
diff options
context:
space:
mode:
authorjez2011-01-31 15:35:00 +0800
committerjez2011-01-31 15:35:00 +0800
commit6d13f4da8e163356d19690ab5c7029e05c780ce3 (patch)
treee6fac05623bdf66e3305205194f40a2a05ece55a /linkHints.js
parent10769ec187fb90070750896ec357fc360701061d (diff)
downloadvimium-6d13f4da8e163356d19690ab5c7029e05c780ce3.tar.bz2
Deactivate hintKeystrokeQueue.
Diffstat (limited to 'linkHints.js')
-rw-r--r--linkHints.js7
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 = {};
}