From b3fae0963056c085630c52609d11a048c5901bad Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sat, 2 Dec 2017 15:46:51 +0000 Subject: Fix link hints. 43c7390f987fea063e7a97cd8b37c7b61d45f615 inadvertently broke link hints. Mention @mrmr1993. --- background_scripts/main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'background_scripts') 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. -- cgit v1.2.3