diff options
| author | Stephen Blott | 2016-04-19 13:32:39 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2016-04-22 14:52:45 +0100 | 
| commit | 740df9a23fa9a1e5b812584ce0702b813b226623 (patch) | |
| tree | 18350599c33c8cef17fa4cf8e55b3a9ca0fe0630 /background_scripts | |
| parent | 4a670aaa3d121834685a672acc904f9824721824 (diff) | |
| download | vimium-740df9a23fa9a1e5b812584ce0702b813b226623.tar.bz2 | |
Help dialog; do not offer hints outside of the help dialog.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/main.coffee | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 23b7ab48..cb978db3 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -366,10 +366,10 @@ HintCoordinator =      for own frameId, port of @tabState[tabId].ports        @postMessage tabId, parseInt(frameId), messageType, port, request -  prepareToActivateMode: (tabId, originatingFrameId, {modeIndex}) -> +  prepareToActivateMode: (tabId, originatingFrameId, {modeIndex, isVimiumHelpDialog}) ->      @tabState[tabId] = {frameIds: frameIdsForTab[tabId][..], hintDescriptors: {}, originatingFrameId, modeIndex}      @tabState[tabId].ports = extend {}, portsForTab[tabId] -    @sendMessage "getHintDescriptors", tabId, {modeIndex} +    @sendMessage "getHintDescriptors", tabId, {modeIndex, isVimiumHelpDialog}    # Receive hint descriptors from all frames and activate link-hints mode when we have them all.    postHintDescriptors: (tabId, frameId, {hintDescriptors}) -> | 
