Browse Source

Typo

master
KaKi87 11 months ago
parent
commit
9321ca1134
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      public/assets/js/main.js

+ 1
- 1
public/assets/js/main.js View File

@ -15,7 +15,7 @@ const toggleDark = () => {
// Toggle UIkit properties
['uk-light', 'uk-background-secondary'].forEach(Class => [document.body, document.querySelector('.uk-modal-body')].forEach(el => el.classList.toggle(Class)));
// Toggle dark button text
darkButton.textContent = darkButton.textContent === 'Dark' ? 'White' : 'Dark';
darkButton.textContent = darkButton.textContent === 'Dark' ? 'Light' : 'Dark';
};
darkButton.onclick = () => {


Loading…
Cancel
Save