mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-21 16:55:46 +03: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
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue