WebUI: Remove redundant event listener attached to RSS Rules table

This commit is contained in:
skomerko 2024-12-29 14:00:12 +01:00
commit e188c0547e

View file

@ -428,14 +428,6 @@ Supports the formats: S01E01, 1x1, 2017.12.31 and 31.12.2017 (Date formats also
showRule(""); showRule("");
} }
}); });
$("rulesTable").addEventListener("contextmenu", (e) => {
if (e.toElement.nodeName === "DIV") {
rssDownloaderRulesTable.deselectAll();
rssDownloaderRulesTable.deselectRow();
rssDownloaderRuleContextMenu.updateMenuItems();
showRule("");
}
});
// get all categories and add to combobox // get all categories and add to combobox
fetch("api/v2/torrents/categories", { fetch("api/v2/torrents/categories", {
method: "GET", method: "GET",