From 6fcd075730dbd63d5dbb69da0ca5983b51a7240e Mon Sep 17 00:00:00 2001 From: "John Molakvoæ (skjnldsv)" Date: Mon, 20 Jul 2020 12:30:35 +0200 Subject: Use DOMContentLoaded and fix sharebymail loading issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files_trashbin/src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_trashbin/src/app.js') 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')) -- cgit v1.2.3