WebUI: Remove redundant event listener

This PR removes broken event listener attached to RSS Rules table. 

PR #22083.
This commit is contained in:
skomerko 2024-12-31 14:43:39 +01:00 committed by GitHub
parent 395dbaa5c6
commit 6fe02895a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",