aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2016-02-20 16:10:44 +0000
committerStephen Blott2016-02-20 16:10:44 +0000
commit4e3bf7b66ed7d498bb10b5116627aff8dcc16f12 (patch)
treeb5c786c2cbc7753e372021d3bd320e9217bebff4 /content_scripts
parent1c584fc2fe810a4f8632832c37a6e477a062180e (diff)
downloadvimium-4e3bf7b66ed7d498bb10b5116627aff8dcc16f12.tar.bz2
Remove (unused) `tabInfoMap`.
It appears `tabInfoMap` (and related machinery) is not being used. This removes it.
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/vimium_frontend.coffee6
1 files changed, 0 insertions, 6 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index eb52e4ee..b7e097e1 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -772,12 +772,6 @@ DomUtils.documentReady initializeOnDomReady
DomUtils.documentReady registerFrame
window.addEventListener "unload", unregisterFrame
-window.onbeforeunload = ->
- chrome.runtime.sendMessage(
- handler: "updateScrollPosition"
- scrollX: window.scrollX
- scrollY: window.scrollY)
-
root = exports ? window
root.handlerStack = handlerStack
root.frameId = frameId