From 2d0f411a43cea05505e0e96d30334fb04f5aec00 Mon Sep 17 00:00:00 2001 From: sowgro Date: Sun, 1 Oct 2023 17:48:41 -0400 Subject: Fix for css not loading when spotify is stated --- CustomApps/betterLibrary/loadcss.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CustomApps/betterLibrary/loadcss.js b/CustomApps/betterLibrary/loadcss.js index 184b445..77c0c9d 100644 --- a/CustomApps/betterLibrary/loadcss.js +++ b/CustomApps/betterLibrary/loadcss.js @@ -1,7 +1,9 @@ (function loadcss() { document.getElementsByTagName('head')[0].insertAdjacentHTML( 'beforeend', - ''); + // ''); + // the line above is not working. directly add css instead + ''); // disable after window is closed to prevent an expanded sidebar on opening window.addEventListener( 'beforeunload', -- cgit v1.2.3