aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/popup.ts
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-07-04 01:21:11 -0400
committerAjay <[email protected]>2022-07-04 01:21:11 -0400
commit561b3a2263288a0a67ee0eef8bf2f3f9155a7a98 (patch)
tree518d16c0a2f85072d13127aac20f327f26d29cce /src/popup.ts
parente0edb63501acfafb524209ae960a16dfe89e90df (diff)
downloadSponsorBlock-561b3a2263288a0a67ee0eef8bf2f3f9155a7a98.tar.gz
SponsorBlock-561b3a2263288a0a67ee0eef8bf2f3f9155a7a98.zip
Fix double click skip in popup
Diffstat (limited to 'src/popup.ts')
-rw-r--r--src/popup.ts2
1 files changed, 1 insertions, 1 deletions
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<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);