aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/src/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/src/app.js')
-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'))