diff options
| author | Stephen Blott | 2017-10-27 09:25:16 +0100 | 
|---|---|---|
| committer | GitHub | 2017-10-27 09:25:16 +0100 | 
| commit | 6f48cd04e7edcbc390c3253e9b95493249f4bb61 (patch) | |
| tree | 64723b1c8c851e886fe624734c86254de56fe4c4 /content_scripts/link_hints.coffee | |
| parent | 03569d64b445780576f960d0553dc763c807de95 (diff) | |
| parent | 4cce9de9075474153a8299ab7430156bd6d194a9 (diff) | |
| download | vimium-6f48cd04e7edcbc390c3253e9b95493249f4bb61.tar.bz2 | |
Merge pull request #2742 from mrmr1993/ff-fix-fb
Add global objects to window.root, re-add to window on DOMLoad
Diffstat (limited to 'content_scripts/link_hints.coffee')
| -rw-r--r-- | content_scripts/link_hints.coffee | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index f3e0ac84..8b5bb8d9 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -897,8 +897,9 @@ class WaitForEnter extends Mode            @exit()            callback false # false -> isSuccess. -root = exports ? window +root = exports ? (window.root ?= {})  root.LinkHints = LinkHints  root.HintCoordinator = HintCoordinator  # For tests:  extend root, {LinkHintsMode, LocalHints, AlphabetHints, WaitForEnter} +extend window, root unless exports? | 
