From 69d03bbe5561d3f5a686dcaf8f75553bc7e2cb66 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Fri, 2 Oct 2015 07:08:09 +0100 Subject: Simplify c9af886a92e4b686456b34949e907a9d79fb223e. --- content_scripts/link_hints.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index 23f23c2e..560b867d 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -663,14 +663,12 @@ class TypingProtector extends Mode handler = (event) => clearTimeout @timer @timer = Utils.setTimeout 150, => @exit() - DomUtils.suppressEvent event - @suppressEvent super name: "hint/typing-protector" + suppressAllKeyboardEvents: true keydown: handler keypress: handler - keyup: => @stopBubblingAndTrue @onExit callback -- cgit v1.2.3