From 0a5f3cc10d5c70aa79adb224cf324ca4b7f58702 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 28 Feb 2016 14:50:44 +0000 Subject: Remove some legacy (and unused) code. --- content_scripts/vimium_frontend.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'content_scripts/vimium_frontend.coffee') 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: -> -- cgit v1.2.3