From f286487b75fb9687432abfd9da83ab48ad127a78 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Mon, 14 Mar 2022 22:16:33 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Adds=20text/css=20type=20attr=20?= =?UTF-8?q?for=20custom=20stylesheets=20(#560)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/ThemeHelper.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/ThemeHelper.js b/src/utils/ThemeHelper.js index b16b27e3..79def8ad 100644 --- a/src/utils/ThemeHelper.js +++ b/src/utils/ThemeHelper.js @@ -32,6 +32,7 @@ export const LoadExternalTheme = function th() { const preloadTheme = (href) => { const link = document.createElement('link'); link.rel = 'stylesheet'; + link.type = 'text/css' link.href = href; document.head.appendChild(link); return new Promise((resolve, reject) => {