mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
feat: add global theme toggle
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
export function disableNotificationCollector() {
|
||||
var alertdiv = document.getElementsByClassName(
|
||||
"notifications__bubble___1EkSQ",
|
||||
)[0]
|
||||
if (typeof alertdiv != "undefined") {
|
||||
var currentNumber = parseInt(alertdiv.textContent!)
|
||||
if (currentNumber < 9) {
|
||||
alertdiv.textContent = currentNumber.toString()
|
||||
} else {
|
||||
alertdiv.textContent = "9+"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user