aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/js')
-rw-r--r--apps/user_ldap/js/renewPassword.js2
-rw-r--r--apps/user_ldap/js/wizard/wizard.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/js/renewPassword.js b/apps/user_ldap/js/renewPassword.js
index 7a58832c984..307d5f8294d 100644
--- a/apps/user_ldap/js/renewPassword.js
+++ b/apps/user_ldap/js/renewPassword.js
@@ -30,7 +30,7 @@ OCA.LDAP = _.extend(OC.LDAP || {}, {
},
});
-$(document).ready(function() {
+window.addEventListener('DOMContentLoaded', function() {
$('form[name=renewpassword]').submit(OCA.LDAP.onRenewPassword);
if($('#newPassword').length) {
diff --git a/apps/user_ldap/js/wizard/wizard.js b/apps/user_ldap/js/wizard/wizard.js
index 9ac03e117cd..39ab2e13ef8 100644
--- a/apps/user_ldap/js/wizard/wizard.js
+++ b/apps/user_ldap/js/wizard/wizard.js
@@ -75,6 +75,6 @@ OCA = OCA || {};
OCA.LDAP.Wizard.Wizard = Wizard;
})();
-$(document).ready(function() {
+window.addEventListener('DOMContentLoaded', function() {
new OCA.LDAP.Wizard.Wizard();
});