mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
WebUI: Remove redundant event listener
This PR removes broken event listener attached to RSS Rules table. PR #22083.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user