summaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
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