mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 17:56:50 +03:00
WebUI: Fix bug where you can't select RSS rules
Fixes bug caused by #21731. PR #21857.
This commit is contained in:
parent
928de36093
commit
530631322d
1 changed files with 5 additions and 3 deletions
|
@ -422,9 +422,11 @@ Supports the formats: S01E01, 1x1, 2017.12.31 and 31.12.2017 (Date formats also
|
|||
rssDownloaderRuleContextMenu.addTarget($("rulesTable"));
|
||||
// deselect feed when clicking on empty part of table
|
||||
$("rulesTable").addEventListener("click", (e) => {
|
||||
rssDownloaderRulesTable.deselectAll();
|
||||
rssDownloaderRulesTable.deselectRow();
|
||||
showRule("");
|
||||
if (e.target.nodeName === "DIV") {
|
||||
rssDownloaderRulesTable.deselectAll();
|
||||
rssDownloaderRulesTable.deselectRow();
|
||||
showRule("");
|
||||
}
|
||||
});
|
||||
$("rulesTable").addEventListener("contextmenu", (e) => {
|
||||
if (e.toElement.nodeName === "DIV") {
|
||||
|
|
Loading…
Reference in a new issue