diff options
| author | mrmr1993 | 2015-05-01 02:55:37 +0100 | 
|---|---|---|
| committer | mrmr1993 | 2015-05-01 02:55:37 +0100 | 
| commit | 702507b1edcaae39bf22ff5b35cc1f7e7723bfb0 (patch) | |
| tree | bee11815fab22656b3786bc8c7ef363b37a854e2 | |
| parent | f5a7f83f06d39bda32883c6c527ae76f16395063 (diff) | |
| download | vimium-702507b1edcaae39bf22ff5b35cc1f7e7723bfb0.tar.bz2 | |
Rename UIComponent class to match the one used in the stylesheet
| -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  | 
