diff options
| author | Stephen Blott | 2016-04-16 14:43:15 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2016-04-16 14:46:59 +0100 | 
| commit | 59d6ce006da3cb125252dfd98819daf65650781e (patch) | |
| tree | 90c0c5df2e347cd7e171b7928f555e1b485e9586 | |
| parent | b94caa42ec2433ec61132be30bec2fbe0bd22aa5 (diff) | |
| download | vimium-59d6ce006da3cb125252dfd98819daf65650781e.tar.bz2 | |
Self code review re. ui-component focus handling.
| -rw-r--r-- | content_scripts/hud.coffee | 3 | ||||
| -rw-r--r-- | content_scripts/ui_component.coffee | 3 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/content_scripts/hud.coffee b/content_scripts/hud.coffee index 32662861..0bd1df3e 100644 --- a/content_scripts/hud.coffee +++ b/content_scripts/hud.coffee @@ -50,8 +50,7 @@ HUD =      clearTimeout(@_showForDurationTimerId)      @tween.stop()      if immediate -      @hudUI.hide() -      Mode.setIndicator() if updateIndicator +      if updateIndicator then Mode.setIndicator() else @hudUI.hide()      else        @tween.fade 0, 150, => @hide true, updateIndicator diff --git a/content_scripts/ui_component.coffee b/content_scripts/ui_component.coffee index 675b46c7..6aa22119 100644 --- a/content_scripts/ui_component.coffee +++ b/content_scripts/ui_component.coffee @@ -2,8 +2,8 @@ class UIComponent    uiComponentIsReady: false    iframeElement: null    iframePort: null -  iframeFrameId: null    showing: false +  iframeFrameId: null    options: null    shadowDOM: null    styleSheetGetter: null @@ -119,5 +119,6 @@ class UIComponent      request.open "GET", (chrome.runtime.getURL file), true      request.send() +  root = exports ? window  root.UIComponent = UIComponent | 
