Skip to content

Commit

Permalink
fixed pride flag not hiding on UI toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
mellodoot committed May 8, 2023
1 parent fc550f4 commit a1b57ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ function toggle_ui() {
if (ui_enabled) {
document.querySelector('#controls').classList.remove('hide');
document.querySelector('footer').classList.remove('hide');
document.querySelector('#pride-triangle').classList.remove('hide');
document.querySelector('#pride-flag').classList.remove('hide');
} else {
document.querySelector('#controls').classList.add('hide');
document.querySelector('footer').classList.add('hide');
document.querySelector('#pride-triangle').classList.add('hide');
document.querySelector('#pride-flag').classList.add('hide');
}
}

Expand Down

0 comments on commit a1b57ff

Please sign in to comment.