diff --git a/extension/add_items_to_collection.js b/extension/add_items_to_collection.js index 1b08c25..f800620 100644 --- a/extension/add_items_to_collection.js +++ b/extension/add_items_to_collection.js @@ -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");