diff options
Diffstat (limited to 'apps/federatedfilesharing/js')
-rw-r--r-- | apps/federatedfilesharing/js/settings-admin.js | 2 | ||||
-rw-r--r-- | apps/federatedfilesharing/js/settings-personal.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/federatedfilesharing/js/settings-admin.js b/apps/federatedfilesharing/js/settings-admin.js index a0b8feb945e..33e03af6a0d 100644 --- a/apps/federatedfilesharing/js/settings-admin.js +++ b/apps/federatedfilesharing/js/settings-admin.js @@ -1,4 +1,4 @@ -$(document).ready(function() { +window.addEventListener('DOMContentLoaded', function() { $('#fileSharingSettings input').change(function() { var value = 'no'; diff --git a/apps/federatedfilesharing/js/settings-personal.js b/apps/federatedfilesharing/js/settings-personal.js index 407493640b1..6f01173807b 100644 --- a/apps/federatedfilesharing/js/settings-personal.js +++ b/apps/federatedfilesharing/js/settings-personal.js @@ -1,4 +1,4 @@ -$(document).ready(function() { +window.addEventListener('DOMContentLoaded', function() { $('#fileSharingSettings button.pop-up').click(function() { var url = $(this).data('url'); |