diff --git a/rot.js b/rot.js index 4876210..9f31e36 100644 --- a/rot.js +++ b/rot.js @@ -135,8 +135,8 @@ waitUntil("#music-mute").then((box) => { }); //Theme application -function applySpecialTheme() { - console.log("Applying special theme"); +function applyMainTheme() { + console.log("Applying main theme"); setTimeout(() => { let pageMusic = document.querySelector('meta[name="pageMusic"]')?.content || document.getElementById("pageMusic")?.getAttribute("href"); setMusic(pageMusic); @@ -224,7 +224,7 @@ function findProfileThemingPost() { let pathSpl = newPath.split("/"); switch (pathSpl.length) { case 1: - applySpecialTheme(); //Root + applyMainTheme(); //Root break; case 2: @@ -233,7 +233,7 @@ function findProfileThemingPost() { case "announcements": case "lists": case "bookmarks": - applySpecialTheme(); + applyMainTheme(); break; default: @@ -245,7 +245,7 @@ function findProfileThemingPost() { case 3: switch (pathSpl[1]) { case "main": - applySpecialTheme(); //Main timelines + applyMainTheme(); //Main timelines break; case "users": @@ -257,13 +257,13 @@ function findProfileThemingPost() { break; default: - applySpecialTheme(); + applyMainTheme(); break; } break; default: - applySpecialTheme(); + applyMainTheme(); break; } });