diff options
author | Louis Chemineau <louis@chmn.me> | 2022-04-27 15:47:58 +0200 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-04-27 15:52:05 +0200 |
commit | 93ee9cd592a791f73c2c14b2ec35e32b1c2fba2e (patch) | |
tree | b3f938ae4cff1304bb5be0b336250cc26ab69ae9 /core | |
parent | 5570661bbd79bf5cb7c5287f033155d4c8fd67f3 (diff) | |
download | nextcloud-server-93ee9cd592a791f73c2c14b2ec35e32b1c2fba2e.tar.gz nextcloud-server-93ee9cd592a791f73c2c14b2ec35e32b1c2fba2e.zip |
Mount profile after DOMContentLoaded
Fix https://github.com/nextcloud/server/issues/32187
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'core')
-rw-r--r-- | core/src/profile.js | 5 |
1 files changed, 4 insertions, 1 deletions
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') +}) |