diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-20 12:30:35 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2020-07-20 12:42:08 +0200 |
commit | 6fcd075730dbd63d5dbb69da0ca5983b51a7240e (patch) | |
tree | 3b91e443159f6322e9af53bf495c17bd76c0ab7b /apps/files/src/sidebar.js | |
parent | b2e3466005f8fec7a753b078871f54c9fd5debb8 (diff) | |
download | nextcloud-server-6fcd075730dbd63d5dbb69da0ca5983b51a7240e.tar.gz nextcloud-server-6fcd075730dbd63d5dbb69da0ca5983b51a7240e.zip |
Use DOMContentLoaded and fix sharebymail loading issue
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/src/sidebar.js')
-rw-r--r-- | apps/files/src/sidebar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/sidebar.js b/apps/files/src/sidebar.js index 258f2313657..f815a498938 100644 --- a/apps/files/src/sidebar.js +++ b/apps/files/src/sidebar.js @@ -37,7 +37,7 @@ if (!window.OCA.Files) { Object.assign(window.OCA.Files, { Sidebar: new Sidebar() }) Object.assign(window.OCA.Files.Sidebar, { Tab }) -window.addEventListener('DOMContentLoaded', () => { +window.addEventListener('DOMContentLoaded', function() { // Make sure we have a proper layout if (document.getElementById('content')) { |