From 6fe02895a827e268009e8b85079f6599eeda388b Mon Sep 17 00:00:00 2001 From: skomerko <168652295+skomerko@users.noreply.github.com> Date: Tue, 31 Dec 2024 14:43:39 +0100 Subject: [PATCH] WebUI: Remove redundant event listener This PR removes broken event listener attached to RSS Rules table. PR #22083. --- src/webui/www/private/views/rssDownloader.html | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/webui/www/private/views/rssDownloader.html b/src/webui/www/private/views/rssDownloader.html index 77b401d4b..759e64a4c 100644 --- a/src/webui/www/private/views/rssDownloader.html +++ b/src/webui/www/private/views/rssDownloader.html @@ -428,14 +428,6 @@ Supports the formats: S01E01, 1x1, 2017.12.31 and 31.12.2017 (Date formats also showRule(""); } }); - $("rulesTable").addEventListener("contextmenu", (e) => { - if (e.toElement.nodeName === "DIV") { - rssDownloaderRulesTable.deselectAll(); - rssDownloaderRulesTable.deselectRow(); - rssDownloaderRuleContextMenu.updateMenuItems(); - showRule(""); - } - }); // get all categories and add to combobox fetch("api/v2/torrents/categories", { method: "GET",