From b589a131206a23243de61194165e56c54881cbd0 Mon Sep 17 00:00:00 2001 From: Nathaniel <73431750+nyakotey@users.noreply.github.com> Date: Thu, 3 Feb 2022 12:11:41 +0000 Subject: [PATCH] fix authorpage not using custom UI --- loadCustomUI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loadCustomUI.js b/loadCustomUI.js index 35b7d353..bffb11c1 100644 --- a/loadCustomUI.js +++ b/loadCustomUI.js @@ -12,7 +12,7 @@ function loadTheme() { function loadAppStatusBarTheme() { let primaryColor = localStorage.getItem("primaryColor"); if(!["",null,undefined].includes(primaryColor)){ - $("[content='#7b68ee']").forEach(e=>e.setAttribute("content",primaryColor)); + document.querySelectorAll("[content='#7b68ee']").forEach(e=>e.setAttribute("content",primaryColor)); } }