aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/recentfilelist.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/recentfilelist.js')
-rw-r--r--apps/files/js/recentfilelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/recentfilelist.js b/apps/files/js/recentfilelist.js
index e8c61cbfe2d..78eaa0b6858 100644
--- a/apps/files/js/recentfilelist.js
+++ b/apps/files/js/recentfilelist.js
@@ -9,7 +9,7 @@
*/
// HACK: this piece needs to be loaded AFTER the files app (for unit tests)
-$(document).ready(function () {
+window.addEventListener('DOMContentLoaded', function () {
(function (OCA) {
/**
* @class OCA.Files.RecentFileList