aboutsummaryrefslogtreecommitdiffstats
path: root/apps/encryption/js/encryption.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/js/encryption.js')
-rw-r--r--apps/encryption/js/encryption.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/js/encryption.js b/apps/encryption/js/encryption.js
index 361347b44b7..6a04e897615 100644
--- a/apps/encryption/js/encryption.js
+++ b/apps/encryption/js/encryption.js
@@ -25,7 +25,7 @@ OC.Encryption = _.extend(OC.Encryption || {}, {
);
}
});
-$(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() {