Skip to content

Commit c02f80c

Browse files
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.
1 parent 3bb1e34 commit c02f80c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/webui/www/private/scripts/dynamicTable.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,6 @@ window.qBittorrent.DynamicTable ??= (() => {
811811
});
812812
tr.addEventListener("click", function(e) {
813813
e.preventDefault();
814-
e.stopPropagation();
815814

816815
if (e.ctrlKey || e.metaKey) {
817816
// CTRL/CMD ⌘ key was pressed

0 commit comments

Comments
 (0)