deploy: 74285e314d
This commit is contained in:
parent
07034e3d43
commit
c59d8d2aba
94 changed files with 1054 additions and 3 deletions
13
static/scripts/88x31.js
Normal file
13
static/scripts/88x31.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
const images = document.querySelectorAll(".i88x31");
|
||||
|
||||
images.forEach(image => {
|
||||
image.addEventListener("click", () => {
|
||||
const selected = document.querySelectorAll(".i88x31.selected");
|
||||
selected.forEach(s => {
|
||||
if (s != image) {
|
||||
s.classList.toggle("selected");
|
||||
}
|
||||
})
|
||||
image.classList.toggle("selected");
|
||||
})
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue