From fdf5db58b2417b755ce5b5adeeaed92a76866134 Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Tue, 21 Apr 2020 11:49:34 +0200 Subject: [PATCH] Hide a dev comment in prod builds --- assets/vpu-signature.html.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/vpu-signature.html.ejs b/assets/vpu-signature.html.ejs index 46575a7..9e4bafe 100644 --- a/assets/vpu-signature.html.ejs +++ b/assets/vpu-signature.html.ejs @@ -8,8 +8,8 @@ <link rel="shortcut icon" type="image/x-icon" href="<%= geturl('local/vpu-signature/favicon.ico') %>"> <link rel="icon" type="image/svg+xml" href="<%= geturl('local/vpu-signature/favicon.svg') %>" sizes="any"> - <!-- XXX: Disable adoptedStyleSheets so that lit-element doesn't use it and we can edit CSS in the Chrome dev tools --> <% 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> -- GitLab