Skip to content
Snippets Groups Projects
Commit 3c747986 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

showcase: Remove adoptedStyleSheets Chrome workaround

Fixed since Chrome 85
parent 8e8812fd
No related branches found
No related tags found
No related merge requests found
Pipeline #15488 passed
...@@ -8,13 +8,6 @@ ...@@ -8,13 +8,6 @@
<link rel="shortcut icon" type="image/x-icon" href="<%= getPrivateUrl('favicon.ico') %>"> <link rel="shortcut icon" type="image/x-icon" href="<%= getPrivateUrl('favicon.ico') %>">
<link rel="icon" type="image/svg+xml" href="<%= getPrivateUrl('favicon.svg') %>" sizes="any"> <link rel="icon" type="image/svg+xml" href="<%= getPrivateUrl('favicon.svg') %>" sizes="any">
<% if (environment === "local") { -%>
<!-- XXX: Disable adoptedStyleSheets so that lit-element doesn't use it and we can edit CSS in the Chrome dev tools -->
<script>
delete Document.prototype.adoptedStyleSheets;
</script>
<% } -%>
<!-- PWA manfiest file --> <!-- PWA manfiest file -->
<link rel="manifest" href="<%= getUrl(name + '.manifest.json') %>"> <link rel="manifest" href="<%= getUrl(name + '.manifest.json') %>">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment