summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/fg/js/driver.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/ext/fg/js/driver.js b/ext/fg/js/driver.js
index 974c4f28..5467a9f0 100644
--- a/ext/fg/js/driver.js
+++ b/ext/fg/js/driver.js
@@ -31,7 +31,6 @@ class Driver {
window.addEventListener('mouseover', this.onMouseOver.bind(this));
window.addEventListener('mousedown', this.onMouseDown.bind(this));
window.addEventListener('mousemove', this.onMouseMove.bind(this));
- window.addEventListener('keydown', this.onKeyDown.bind(this));
window.addEventListener('resize', e => this.searchClear());
getOptions().then(options => {
@@ -54,16 +53,6 @@ class Driver {
}
}
- onKeyDown(e) {
- this.popupTimerClear();
-
- if (this.enabled && this.lastMousePos !== null && e.keyCode === 16 /* shift */) {
- this.searchAt(this.lastMousePos, true);
- } else if (e.keyCode === 27 /* esc */) {
- this.searchClear();
- }
- }
-
onMouseOver(e) {
if (e.target === this.popup.container && this.popuptimer !== null) {
this.popupTimerClear();