From 93ee9cd592a791f73c2c14b2ec35e32b1c2fba2e Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Wed, 27 Apr 2022 15:47:58 +0200 Subject: Mount profile after DOMContentLoaded Fix https://github.com/nextcloud/server/issues/32187 Signed-off-by: Louis Chemineau --- core/src/profile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/src/profile.js b/core/src/profile.js index b1e58a2b467..5e3711841a6 100644 --- a/core/src/profile.js +++ b/core/src/profile.js @@ -43,4 +43,7 @@ Vue.mixin({ }) const View = Vue.extend(Profile) -new View().$mount('#vue-profile') + +window.addEventListener('DOMContentLoaded', () => { + new View().$mount('#vue-profile') +}) -- cgit v1.2.3