mirror of
https://github.com/zyllian/webdog.git
synced 2025-05-09 18:16:40 -07:00
add noscript to the pet me counter and make noscript on the virtual pet bigger
This commit is contained in:
parent
4ed52b0a35
commit
e20d28bc4d
4 changed files with 22 additions and 15 deletions
|
@ -6,6 +6,7 @@
|
|||
: "https://cf.zyllian.workers.dev/api/pet";
|
||||
|
||||
const petCounter = document.querySelector("#pet-counter");
|
||||
const internal = petCounter.querySelector(".internal");
|
||||
const count = petCounter.querySelector(".count");
|
||||
const petButton = petCounter.querySelector("button");
|
||||
|
||||
|
@ -24,5 +25,5 @@
|
|||
}
|
||||
});
|
||||
|
||||
petCounter.style.display = "block";
|
||||
internal.style.display = "block";
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue