aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/mode.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/mode.coffee b/content_scripts/mode.coffee
index 46f5c3b7..6e40089e 100644
--- a/content_scripts/mode.coffee
+++ b/content_scripts/mode.coffee
@@ -44,7 +44,7 @@ count = 0
class Mode
# If Mode.debug is true, then we generate a trace of modes being activated and deactivated on the console, along
# with a list of the currently active modes.
- debug: false
+ debug: true
@modes: []
# Constants; short, readable names for handlerStack event-handler return values.
@@ -121,7 +121,7 @@ class Mode
keypress: (event) =>
@alwaysContinueBubbling =>
if event.srcElement == @options.suppressPrintableEvents
- if KeyboardUtils.isPrintable(event)
+ if KeyboardUtils.isPrintable event
event.vimium_suppress_event = true
Mode.updateBadge() if @badge