From 83b5dcc4b4294caba125cd9a39708da950f28faf Mon Sep 17 00:00:00 2001 From: idk Date: Thu, 2 Dec 2021 20:45:42 -0500 Subject: [PATCH] fix Open WebUI button on torrent menu --- info.js | 3 +++ window.html | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/info.js b/info.js index 8efd32b..85f0f7c 100644 --- a/info.js +++ b/info.js @@ -126,6 +126,9 @@ document.addEventListener("click", (clickEvent) => { } else if (clickEvent.target.id === "window-visit-torrent") { console.log("attempting to create torrent tab"); goTorrent(); + } else if (clickEvent.target.id === "torrentui-opener") { + console.log("attempting to create torrent tab"); + goSnark(); } else if (clickEvent.target.id === "window-visit-help") { console.log("attempting to create torrent tab"); goHelp(); diff --git a/window.html b/window.html index 756a9b6..6e5018a 100644 --- a/window.html +++ b/window.html @@ -121,7 +121,8 @@

Torrent Controls

- Open Web UI