aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2017-12-02 15:46:51 +0000
committerStephen Blott2017-12-02 15:46:53 +0000
commitb3fae0963056c085630c52609d11a048c5901bad (patch)
treeccf7eeb2983740dc5c4480f85bbc81458481f5c4
parentfb00eaa6bd4ee8889d10a9ef9d976fefd3be7879 (diff)
downloadvimium-b3fae0963056c085630c52609d11a048c5901bad.tar.bz2
Fix link hints.
43c7390f987fea063e7a97cd8b37c7b61d45f615 inadvertently broke link hints. Mention @mrmr1993.
-rw-r--r--background_scripts/main.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index e21c1a25..2c7b13ba 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -389,7 +389,7 @@ HintCoordinator =
prepareToActivateMode: (tabId, originatingFrameId, {modeIndex, isVimiumHelpDialog}) ->
@tabState[tabId] = {frameIds: frameIdsForTab[tabId][..], hintDescriptors: {}, originatingFrameId, modeIndex}
- @tabState[tabId].ports = [tabId].map (frameId) -> portsForTab[tabId][frameId]
+ @tabState[tabId].ports = extend {}, portsForTab[tabId]
@sendMessage "getHintDescriptors", tabId, {modeIndex, isVimiumHelpDialog}
# Receive hint descriptors from all frames and activate link-hints mode when we have them all.