diff --git a/src/popup.ts b/src/popup.ts index 205a0280..aec515c4 100644 --- a/src/popup.ts +++ b/src/popup.ts @@ -656,7 +656,7 @@ async function runThePopup(messageListener?: MessageListener): Promise { skipButton.className = "voteButton"; skipButton.src = chrome.runtime.getURL("icons/skip.svg"); skipButton.addEventListener("click", () => skipSegment(actionType, UUID, skipButton)); - container.addEventListener("dblclick", () => skipSegment(actionType, UUID)); + votingButtons.addEventListener("dblclick", () => skipSegment(actionType, UUID)); //add thumbs up, thumbs down and uuid copy buttons to the container voteButtonsContainer.appendChild(upvoteButton);