diff options
| author | Stephen Blott | 2015-05-01 06:32:08 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-05-01 06:32:08 +0100 |
| commit | caa748f89bf90d5791b734d4bc1576a7a44c2011 (patch) | |
| tree | 59dcc28c2c40163cecce8144a1ab5e3fd9e60bf3 /content_scripts/ui_component.coffee | |
| parent | 18d05892a757122c5c2d1ba39d808ac27fe8308a (diff) | |
| parent | 702507b1edcaae39bf22ff5b35cc1f7e7723bfb0 (diff) | |
| download | vimium-caa748f89bf90d5791b734d4bc1576a7a44c2011.tar.bz2 | |
Merge pull request #1623 from mrmr1993/fix-uicomponent-className
Rename UIComponent visible class to match the one used in the stylesheet
Diffstat (limited to 'content_scripts/ui_component.coffee')
| -rw-r--r-- | content_scripts/ui_component.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/ui_component.coffee b/content_scripts/ui_component.coffee index 21431bd7..61c45136 100644 --- a/content_scripts/ui_component.coffee +++ b/content_scripts/ui_component.coffee @@ -61,7 +61,7 @@ class UIComponent show: (message) -> @postMessage message if message? @iframeElement.classList.remove "vimiumUIComponentHidden" - @iframeElement.classList.add "vimiumUIComponentShowing" + @iframeElement.classList.add "vimiumUIComponentVisible" # The window may not have the focus. We focus it now, to prevent the "focus" listener below from firing # immediately. window.focus() @@ -76,7 +76,7 @@ class UIComponent @refocusSourceFrame @options?.sourceFrameId if focusWindow window.removeEventListener "focus", @onFocus if @onFocus @onFocus = null - @iframeElement.classList.remove "vimiumUIComponentShowing" + @iframeElement.classList.remove "vimiumUIComponentVisible" @iframeElement.classList.add "vimiumUIComponentHidden" @options = null @showing = false |
