Browse Source

Merge pull request #47891 from nextcloud/fix/make-watcher-null-safe

pull/47899/head
Kate 1 year ago
committed by GitHub
parent
commit
0b16b20019
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      apps/files/src/components/FileEntryMixin.ts
  2. 4
      dist/files-main.js
  3. 2
      dist/files-main.js.map

8
apps/files/src/components/FileEntryMixin.ts

@ -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)
}
},

4
dist/files-main.js
File diff suppressed because it is too large
View File

2
dist/files-main.js.map
File diff suppressed because it is too large
View File

Loading…
Cancel
Save