From 92477459341c1308ac48dad46617aea5de788089 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 25 Sep 2016 17:07:57 +0100 Subject: Active hint marker may be in another frame. Do not set the style on the active hint marker if it's in another frame. --- content_scripts/link_hints.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content_scripts') 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 -- cgit v1.2.3