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
committernextcloud-command <nextcloud-command@users.noreply.github.com>2022-04-27 20:27:16 +0300
commitfafc3ca2e0124f64b90242bcdddb123031830f1f (patch)
treee7306b67496c40af1ee305202aeb98ff6ef674dd /core
parent400f378183da7daa1a953ac5f3a8a3bdcac12017 (diff)
Mount profile after DOMContentLoadedbackport/32189/stable24
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>
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')
+})