From 76150e7b982b5cc6b68ad0dcf36c70382fdea30d Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Tue, 2 Sep 2014 13:47:14 +0100 Subject: Structured exclusion rules: Fix typos and minor issues. --- content_scripts/vimium_frontend.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content_scripts') diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index e2ffa7f0..6db0d830 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -331,11 +331,11 @@ extend window, false -# Decide whether this keyChar be passed to the underlying page. +# Decide whether this keyChar should be passed to the underlying page. # Keystrokes are *never* considered passKeys if the keyQueue is not empty. So, for example, if 't' is a # passKey, then 'gt' and '99t' will neverthless be handled by vimium. isPassKey = ( keyChar ) -> - return !keyQueue and 0 <= passKeys.indexOf(keyChar) + return !keyQueue and passKeys and 0 <= passKeys.indexOf(keyChar) handledKeydownEvents = [] -- cgit v1.2.3