aboutsummaryrefslogtreecommitdiff
path: root/app/loadcss.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/loadcss.js')
-rw-r--r--app/loadcss.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/loadcss.js b/app/loadcss.js
deleted file mode 100644
index 184b445..0000000
--- a/app/loadcss.js
+++ /dev/null
@@ -1,12 +0,0 @@
-(function loadcss() {
- document.getElementsByTagName('head')[0].insertAdjacentHTML(
- 'beforeend',
- '<link rel="stylesheet" href="spicetify-routes-betterlibrary.css" />');
- // disable after window is closed to prevent an expanded sidebar on opening
- window.addEventListener(
- 'beforeunload',
- (event) => {
- disableBetterLib();
- }
- )
-})(); \ No newline at end of file