aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2016-09-25 17:07:57 +0100
committerStephen Blott2016-09-25 17:08:00 +0100
commit92477459341c1308ac48dad46617aea5de788089 (patch)
tree73a2128ebfca798146c09ce45a2773050efe4297
parent6fafe8bc8057c90240b74b56d94707f4f1cd2968 (diff)
downloadvimium-92477459341c1308ac48dad46617aea5de788089.tar.bz2
Active hint marker may be in another frame.
Do not set the style on the active hint marker if it's in another frame.
-rw-r--r--content_scripts/link_hints.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee
index adab0e9d..cf8d40c0 100644
--- a/content_scripts/link_hints.coffee
+++ b/content_scripts/link_hints.coffee
@@ -527,7 +527,7 @@ class FilterHints
@activeHintMarker?.classList?.remove "vimiumActiveHintMarker"
@activeHintMarker = linksMatched[tabCount]
@activeHintMarker?.classList?.add "vimiumActiveHintMarker"
- @activeHintMarker.style.zIndex = getNextZIndex()
+ @activeHintMarker?.style?.zIndex = getNextZIndex()
linksMatched: linksMatched
userMightOverType: @hintKeystrokeQueue.length == 0 and 0 < @linkTextKeystrokeQueue.length