aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/app.js')
-rw-r--r--apps/files/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/app.js b/apps/files/js/app.js
index 20da85f0f92..a6b656311d5 100644
--- a/apps/files/js/app.js
+++ b/apps/files/js/app.js
@@ -331,7 +331,7 @@
};
})();
-$(document).ready(function() {
+window.addEventListener('DOMContentLoaded', function() {
// wait for other apps/extensions to register their event handlers and file actions
// in the "ready" clause
_.defer(function() {