
                this.upvotedItems = [...this.upvotedItems, itemName];
                localStorage.setItem(`stack-upvote.${itemType}.names`, JSON.stringify(this.upvotedItems));
                document.querySelector(`[data-upvote-moment-name="${itemName}"]`).classList.add("upvoted");
                const upvoteElements = document.querySelectorAll(`[data-upvote-moment-name="${itemName}"] span`);
                if (upvoteElements && upvoteElements.length > 0) {
                  upvoteElements.forEach((ele