Skip to content

Commit

Permalink
Fixed bartab colouring
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersSeverinsen committed Jul 19, 2024
1 parent a9ecf54 commit 792c44e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions web/static/js/darkModeState.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ function switchTheme() {
panels[i].classList = "panel panel-primary";
}
const success = document.getElementsByClassName("success");
for (let i = 0; i < success.length; i++) {
success[i].classList = "success-dark";
for (let n = 0; n < 5; n++) {
for (let i = 0; i < success.length; i++) {
success[i].classList = "success-dark";
}
}
const danger = document.getElementsByClassName("danger");
for (let n = 0; n < 5; n++) {
Expand Down

0 comments on commit 792c44e

Please sign in to comment.