summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js/oauth2.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/js/oauth2.js')
-rw-r--r--apps/files_external/js/oauth2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/js/oauth2.js b/apps/files_external/js/oauth2.js
index fb7160d6684..086a95f038f 100644
--- a/apps/files_external/js/oauth2.js
+++ b/apps/files_external/js/oauth2.js
@@ -1,4 +1,4 @@
-$(document).ready(function() {
+window.addEventListener('DOMContentLoaded', function() {
function displayGranted($tr) {
$tr.find('.configuration input.auth-param').attr('disabled', 'disabled').addClass('disabled-success');