diff options
| -rw-r--r-- | content_scripts/link_hints.coffee | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index 016e86d7..cef4b480 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -69,6 +69,10 @@ HintCoordinator = singleton: "link-hints-mode" indicator: "Collecting hints..." exitOnEscape: true + # FIXME(smblott) Global link hints is currently insufficiently reliable. If the mode above is left in + # place, then Vimium blocks. As a temporary measure, we install a timer to remove it. + unless @debug + Utils.setTimeout 1000, => @suppressKeyboardEvents.exit() if @suppressKeyboardEvents.modeIsActive @onExit = [onExit] @sendMessage "prepareToActivateMode", modeIndex: availableModes.indexOf mode |
