mirror of
https://github.com/wah-su/mstickers.git
synced 2025-05-07 21:39:35 +05:00
Improved watch script
- Added hot reload - Added file serve via express - Added cleanup on watch exit
This commit is contained in:
parent
47af5064ea
commit
edf51ec0f7
9 changed files with 883 additions and 25 deletions
|
@ -3,8 +3,6 @@ const images = document.querySelectorAll("[data-image-id]");
|
|||
images.forEach((image) => {
|
||||
|
||||
const spinner = document.querySelector(`[data-spinner-id="${image.getAttribute("data-image-id")}"]`)
|
||||
console.log(image)
|
||||
console.log(spinner)
|
||||
|
||||
if (image.height > 0) {
|
||||
image.classList.remove("hidden");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue