Skip to content

Commit

Permalink
WebUI: Remove redundant event listener
Browse files Browse the repository at this point in the history
This PR removes broken event listener attached to RSS Rules table. 

PR #22083.
  • Loading branch information
skomerko authored Dec 31, 2024
1 parent 395dbaa commit 6fe0289
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/webui/www/private/views/rssDownloader.html
Original file line number Diff line number Diff line change
Expand Up @@ -428,14 +428,6 @@
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",
Expand Down

0 comments on commit 6fe0289

Please sign in to comment.