mirror of
https://github.com/nextcloud/spreed.git
synced 2025-07-21 05:46:02 +00:00
fix: disable Esc hotkey for guests
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This commit is contained in:
@ -209,7 +209,9 @@ export default {
|
||||
created() {
|
||||
window.addEventListener('beforeunload', this.preventUnload)
|
||||
useHotKey('f', this.handleAppSearch, { ctrl: true, stop: true, prevent: true })
|
||||
useHotKey('Escape', this.openRoot, { stop: true, prevent: true })
|
||||
if (getCurrentUser()) {
|
||||
useHotKey('Escape', this.openRoot, { stop: true, prevent: true })
|
||||
}
|
||||
},
|
||||
|
||||
beforeUnmount() {
|
||||
|
Reference in New Issue
Block a user