From 702507b1edcaae39bf22ff5b35cc1f7e7723bfb0 Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Fri, 1 May 2015 02:55:37 +0100 Subject: Rename UIComponent class to match the one used in the stylesheet --- content_scripts/ui_component.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content_scripts') 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 -- cgit v1.2.3