mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-05 10:27:24 +08:00
WebUI: Remove redundant event listener
This PR removes broken event listener attached to RSS Rules table. PR #22083.
This commit is contained in:
parent
395dbaa5c6
commit
6fe02895a8
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user