Browse Source
Merge pull request #47891 from nextcloud/fix/make-watcher-null-safe
pull/47899/head
Kate
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
8 additions and
6 deletions
-
apps/files/src/components/FileEntryMixin.ts
-
dist/files-main.js
-
dist/files-main.js.map
|
|
@ -231,9 +231,11 @@ export default defineComponent({ |
|
|
|
return |
|
|
|
} |
|
|
|
// Reset any right menu position potentially set
|
|
|
|
const root = this.$el?.closest('main.app-content') as HTMLElement |
|
|
|
root.style.removeProperty('--mouse-pos-x') |
|
|
|
root.style.removeProperty('--mouse-pos-y') |
|
|
|
const root = document.getElementById('app-content-vue') |
|
|
|
if (root !== null) { |
|
|
|
root.style.removeProperty('--mouse-pos-x') |
|
|
|
root.style.removeProperty('--mouse-pos-y') |
|
|
|
} |
|
|
|
}, 300) |
|
|
|
} |
|
|
|
}, |
|
|
|