fix(ui): Do not close all menus on right click

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
pull/41968/head
Christoph Wurst 6 months ago committed by nextcloud-command
parent fd4b4b42de
commit 2f2e8b0ccb

@ -117,6 +117,10 @@ export const initCore = () => {
// don't close when clicking on the menu directly or a menu toggle
return false
}
if (event.which === 3) {
// don't close when right-clicking
return false
}
OC.hideMenus()
})

4
dist/core-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save