aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/vimium_frontend.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
-rw-r--r--content_scripts/vimium_frontend.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index 07b4fe4b..e8248c0a 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -380,6 +380,8 @@ extend window,
super
name: "focus-selector"
badge: "?"
+ # Be a singleton. It doesn't make any sense to have two instances active at the same time; and that
+ # shouldn't happen anyway. However, it does no harm to enforce it.
singleton: FocusSelector
keydown: (event) =>
if event.keyCode == KeyboardUtils.keyCodes.tab