diff options
| -rw-r--r-- | content_scripts/ui_component.coffee | 5 | ||||
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 4 |
2 files changed, 1 insertions, 8 deletions
diff --git a/content_scripts/ui_component.coffee b/content_scripts/ui_component.coffee index 74b58b82..efc16f99 100644 --- a/content_scripts/ui_component.coffee +++ b/content_scripts/ui_component.coffee @@ -102,11 +102,6 @@ class UIComponent message: name: "focusFrame" frameId: sourceFrameId - highlight: false - # Note(smblott) Disabled prior to 1.50 (or post 1.49) release. - # The UX around flashing the frame isn't quite right yet. We want the frame to flash only if the - # user exits the Vomnibar with Escape. - highlightOnlyIfNotTop: false # true if windowIsFocused() # We already have the focus. diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 63f6ee44..aab92a85 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -300,9 +300,7 @@ focusThisFrame = (request) -> chrome.runtime.sendMessage({ handler: "nextFrame", frameId: frameId }) return window.focus() - shouldHighlight = request.highlight - shouldHighlight ||= request.highlightOnlyIfNotTop and not DomUtils.isTopFrame() - flashFrame() if shouldHighlight + flashFrame() if request.highlight extend window, scrollToBottom: -> |
