aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authormrmr19932015-05-01 06:32:02 +0100
committermrmr19932015-05-01 06:32:02 +0100
commit2bd819e98d85fbc5d463735afec53f3b5433fd2f (patch)
tree8f405026ee158a94761421725adb05648445ac90 /content_scripts
parent19b33fed06ecf7d6dc6260e3f623a4190c059285 (diff)
downloadvimium-2bd819e98d85fbc5d463735afec53f3b5433fd2f.tar.bz2
Add extra information to GrabBackFocus' pushState helper
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/vimium_frontend.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index c1a205f2..661ea1c4 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -135,8 +135,9 @@ class GrabBackFocus extends Mode
# Pages can load new content dynamically and change the displayed URL using history.pushState. Since this can
# often be indistinguishable from an actual new page load for the user, we should also re-start GrabBackFocus
-# for these as well.
+# for these as well. This fixes issue #1622.
handlerStack.push
+ _name: "GrabBackFocus-pushState-monitor"
click: (event) ->
target = event.target
while target