From 89de55d8707f949077d3ee44a1906b23d9f33946 Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Thu, 7 Jan 2021 17:26:30 +0100 Subject: [PATCH] Remove adoptedStyleSheets workaround Fixed since Chrome 85+ --- assets/dbp-signature.html.ejs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/assets/dbp-signature.html.ejs b/assets/dbp-signature.html.ejs index 7c71ab2..4f2b470 100644 --- a/assets/dbp-signature.html.ejs +++ b/assets/dbp-signature.html.ejs @@ -8,13 +8,6 @@ <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"> -<% 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 --> <link rel="manifest" href="<%= getUrl(name + '.manifest.json') %>"> -- GitLab