Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-04-27 16:47:58 +0300
committerLouis Chemineau <louis@chmn.me>2022-04-27 16:52:05 +0300
commit93ee9cd592a791f73c2c14b2ec35e32b1c2fba2e (patch)
treeb3f938ae4cff1304bb5be0b336250cc26ab69ae9 /core
parent5570661bbd79bf5cb7c5287f033155d4c8fd67f3 (diff)
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.js5
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')
+})