Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-20 13:30:35 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-20 13:42:08 +0300
commit6fcd075730dbd63d5dbb69da0ca5983b51a7240e (patch)
tree3b91e443159f6322e9af53bf495c17bd76c0ab7b /apps/theming
parentb2e3466005f8fec7a753b078871f54c9fd5debb8 (diff)
Use DOMContentLoaded and fix sharebymail loading issue
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/js/settings-admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/js/settings-admin.js b/apps/theming/js/settings-admin.js
index 81b10bcc08e..6f76def6910 100644
--- a/apps/theming/js/settings-admin.js
+++ b/apps/theming/js/settings-admin.js
@@ -103,7 +103,7 @@ function hideUndoButton(setting, value) {
}
}
-$(document).ready(function () {
+window.addEventListener('DOMContentLoaded', function () {
$('#theming [data-toggle="tooltip"]').tooltip();
// manually instantiate jscolor to work around new Function call which violates strict CSP