aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/vimium_frontend.coffee
diff options
context:
space:
mode:
authorgdh19952018-10-28 11:53:27 +0800
committergdh19952018-10-28 11:53:27 +0800
commit5307f07729f2a35debbee6ef8c5f09493a8b81bf (patch)
tree6b9d1f696be61d6e13a077756df9407d6f2fc803 /content_scripts/vimium_frontend.coffee
parentacf09d2285b47d5849b4315ac698182dad7e9c13 (diff)
downloadvimium-5307f07729f2a35debbee6ef8c5f09493a8b81bf.tar.bz2
fix a small typo that attachShadow needs an argument
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.