aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/src
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-20 12:30:35 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-20 12:42:08 +0200
commit6fcd075730dbd63d5dbb69da0ca5983b51a7240e (patch)
tree3b91e443159f6322e9af53bf495c17bd76c0ab7b /apps/files_trashbin/src
parentb2e3466005f8fec7a753b078871f54c9fd5debb8 (diff)
downloadnextcloud-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_trashbin/src')
-rw-r--r--apps/files_trashbin/src/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/src/app.js b/apps/files_trashbin/src/app.js
index db810ef8805..53d9e33bb4d 100644
--- a/apps/files_trashbin/src/app.js
+++ b/apps/files_trashbin/src/app.js
@@ -126,7 +126,7 @@ OCA.Trashbin.App = {
},
}
-$(document).ready(function() {
+window.addEventListener('DOMContentLoaded', function() {
$('#app-content-trashbin').one('show', function() {
const App = OCA.Trashbin.App
App.initialize($('#app-content-trashbin'))