diff options
| author | Stephen Blott | 2016-04-16 16:54:12 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-04-16 17:01:38 +0100 |
| commit | e07a252508eea45c4dcadc92cdad02d42df2f5f8 (patch) | |
| tree | 41cb4c9a3302aebf7bd03a4db4d874da24b0f79c /content_scripts/vimium_frontend.coffee | |
| parent | ae1a54157291c0bcc69a6e8652bc15e69b72b4e4 (diff) | |
| download | vimium-e07a252508eea45c4dcadc92cdad02d42df2f5f8.tar.bz2 | |
Minor code review.
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 56f7742e..986fd322 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -121,7 +121,7 @@ class NormalMode extends KeyHandlerMode if registryEntry.topFrame # The Vomnibar (a top-frame command) cannot coexist with the help dialog (it causes focus issues). - sourceFrameId = if HelpDialog.isShowing() and window.isVimiumUIComponent then 0 else frameId + sourceFrameId = if window.isVimiumUIComponent then 0 else frameId HelpDialog.toggle() if HelpDialog.isShowing() chrome.runtime.sendMessage handler: "sendMessageToFrames", message: {name: "runInTopFrame", sourceFrameId, registryEntry} |
