mirror of
https://github.com/nextcloud/server.git
synced 2026-03-03 14:01:34 -05:00
Merge pull request #41968 from nextcloud/fix/ui/right-click-close-menu-stable26
[stable26] fix(ui): Do not close all menus on right click
This commit is contained in:
commit
7c87ea2f99
3 changed files with 7 additions and 3 deletions
|
|
@ -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
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue