mirror of
https://github.com/Steffo99/tidebringer-firefox.git
synced 2025-01-05 05:29:46 +00:00
Disable button after clicking on it once
This commit is contained in:
parent
78b6b4f698
commit
115264b589
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ async function addItemToCollection(itemElement) {
|
|||
|
||||
async function addAllSubscribedToCollection() {
|
||||
const buttonElement = document.querySelector("#tidebringer-btn-add-all-subscribed");
|
||||
buttonElement.removeEventListener("click", addAllSubscribedToCollection)
|
||||
buttonElement.className += " tidebringer-running";
|
||||
|
||||
const itemElements = document.querySelectorAll(".itemChoice");
|
||||
|
|
Loading…
Reference in a new issue