first commit
This commit is contained in:
13
public/updateWeekDisplay.js
Normal file
13
public/updateWeekDisplay.js
Normal file
@@ -0,0 +1,13 @@
|
||||
function updateWeekDisplay(value) {
|
||||
document.getElementById('deload-wk').textContent = value;
|
||||
document.getElementById('week-num').textContent = value;
|
||||
}
|
||||
|
||||
function darkMode() {
|
||||
const element = document.getElementById('darkmode')
|
||||
if (element.getElementById("checkbox1").checked === true) {
|
||||
element.setAttribute("data-theme", "silk")
|
||||
} else {
|
||||
element.setAttribute("data-theme", "dracula")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user