aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/vimium_frontend.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
-rw-r--r--content_scripts/vimium_frontend.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index 2eb4a0cd..0f5d05f2 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -247,7 +247,7 @@ flashFrame = do ->
# PhantomJS doesn't support createShadowRoot, so guard against its non-existance.
# https://hacks.mozilla.org/2018/10/firefox-63-tricks-and-treats/ says
# Firefox 63 has enabled Shadow DOM v1 by default
- _shadowDOM = highlightedFrameElement.attachShadow?() ?
+ _shadowDOM = highlightedFrameElement.attachShadow?( mode: "open" ) ?
highlightedFrameElement.createShadowRoot?() ? highlightedFrameElement
# Inject stylesheet.