Fix double click skip in popup

This commit is contained in:
Ajay
2022-07-04 01:21:11 -04:00
parent e0edb63501
commit 561b3a2263

View File

@@ -656,7 +656,7 @@ async function runThePopup(messageListener?: MessageListener): Promise<void> {
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);