summaryrefslogtreecommitdiff
path: root/packages/integrations/lit/client-shim.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/lit/client-shim.min.js')
-rw-r--r--packages/integrations/lit/client-shim.min.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/lit/client-shim.min.js b/packages/integrations/lit/client-shim.min.js
index afae053ac..0965e6a78 100644
--- a/packages/integrations/lit/client-shim.min.js
+++ b/packages/integrations/lit/client-shim.min.js
@@ -8,7 +8,7 @@ var b = (t, n) => {
function s() {
if (d === void 0) {
let t = document.createElement('div');
- (t.innerHTML = '<div><template shadowroot="open"></template></div>'),
+ (t.innerHTML = '<div><template shadowroot="open" shadowrootmode="open"></template></div>'),
(d = !!t.firstElementChild.shadowRoot);
}
return d;
@@ -80,7 +80,7 @@ async function g() {
window.addEventListener('DOMContentLoaded', () => t(document.body), { once: true });
}
var x = new DOMParser()
- .parseFromString('<p><template shadowroot="open"></template></p>', 'text/html', {
+ .parseFromString('<p><template shadowroot="open" shadowrootmode="open"></template></p>', 'text/html', {
includeShadowRoots: !0,
})
.querySelector('p');