swap/js
This commit is contained in:
parent
4010e87eb4
commit
6f4d8d8a66
1 changed files with 8 additions and 0 deletions
|
@ -6,6 +6,14 @@ link.addEventListener("click", () => {
|
|||
document.body.classList.toggle("link");
|
||||
});
|
||||
|
||||
// swap
|
||||
|
||||
const swap = document.getElementById("swap");
|
||||
|
||||
link.addEventListener("click", () => {
|
||||
document.body.classList.toggle("swap");
|
||||
});
|
||||
|
||||
// theme
|
||||
|
||||
const button = document.getElementById("theme");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue