1 Commits

Author SHA1 Message Date
idk
83b5dcc4b4 fix Open WebUI button on torrent menu 2021-12-02 20:45:42 -05:00
2 changed files with 5 additions and 1 deletions

View File

@@ -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();

View File

@@ -121,7 +121,8 @@
<div id="torrents-pane">
<header>
<h1>Torrent Controls</h1>
<a class="webui-opener" href="#" target="_blank"><img alt="Open Web UI" src="images/i2plogo.png"></a> <!--<a class="config-opener" href="#">
<img alt="Open WebUI" src="icons/i2plogo.png">
<a class="webui-opener" id="torrentui-opener" href="#">Open WebUI</a> <!--<a class="config-opener" href="#">
<img alt="Settings" src="images/gear.svg"></a>
<a class="info-opener" href="https://github.com/myfreeweb/transmitter" target="_blank">
<img alt="Extension Info" src="images/info.svg"></a>-->