mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 19:20:32 +00:00
WebUI: Hide context menu when clicking on a table row
This fixes a bug where the torrents table header menu could not be closed by clicking on a table row. This also fixes the same bug for other context menus. PR #21731.
This commit is contained in:
parent
3bb1e34233
commit
c02f80cec5
@ -811,7 +811,6 @@ window.qBittorrent.DynamicTable ??= (() => {
|
||||
});
|
||||
tr.addEventListener("click", function(e) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
if (e.ctrlKey || e.metaKey) {
|
||||
// CTRL/CMD ⌘ key was pressed
|
||||
|
Loading…
Reference in New Issue
Block a user