Mount profile after DOMContentLoaded

Fix https://github.com/nextcloud/server/issues/32187

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
Louis Chemineau 2022-04-27 15:47:58 +02:00 committed by nextcloud-command
parent 400f378183
commit fafc3ca2e0
3 changed files with 7 additions and 4 deletions

View file

@ -43,4 +43,7 @@ Vue.mixin({
})
const View = Vue.extend(Profile)
new View().$mount('#vue-profile')
window.addEventListener('DOMContentLoaded', () => {
new View().$mount('#vue-profile')
})

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long