From b8198ceb80eb7af461ced3df1e8d8455039fdc4c Mon Sep 17 00:00:00 2001 From: skomerko <168652295+skomerko@users.noreply.github.com> Date: Sat, 22 Feb 2025 15:10:55 +0100 Subject: [PATCH] WebUI: Fix bug where the 'Tracker editing' dialog displays incorrect data --- src/webui/www/private/scripts/prop-trackers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/www/private/scripts/prop-trackers.js b/src/webui/www/private/scripts/prop-trackers.js index 360758e6e..9b02b6aef 100644 --- a/src/webui/www/private/scripts/prop-trackers.js +++ b/src/webui/www/private/scripts/prop-trackers.js @@ -198,7 +198,7 @@ window.qBittorrent.PropTrackers ??= (() => { if (current_hash.length === 0) return; - const trackerUrl = encodeURIComponent(element.childNodes[1].textContent); + const trackerUrl = encodeURIComponent(torrentTrackersTable.selectedRowsIds()[0]); new MochaUI.Window({ id: "trackersPage", icon: "images/qbittorrent-tray.svg",