aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2022-04-27 19:15:55 +0200
committerGitHub <noreply@github.com>2022-04-27 19:15:55 +0200
commit768da60ae2bc11b415b52624121d70316c1e9de6 (patch)
treee0c972c065ea79c84e012a0f6eb011d38a1c3c90 /core
parent971e224ce47636e828ee9d2d8003d067bc3da0da (diff)
parent93ee9cd592a791f73c2c14b2ec35e32b1c2fba2e (diff)
downloadnextcloud-server-768da60ae2bc11b415b52624121d70316c1e9de6.tar.gz
nextcloud-server-768da60ae2bc11b415b52624121d70316c1e9de6.zip
Merge pull request #32189 from nextcloud/fix/local_loading_for_profile
Mount Profile view after DOMContentLoaded
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')
+})