From 8d1343e6356ca4b2f0e407fb32c55c6eaa76ad4f Mon Sep 17 00:00:00 2001 From: David Corry Date: Mon, 4 May 2020 14:26:32 -0700 Subject: [PATCH] Make sure setupTheming gets called after localization has been loaded. --- js/themes.js | 2 -- js/translations.js | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/js/themes.js b/js/themes.js index 5b96e65..7e44164 100644 --- a/js/themes.js +++ b/js/themes.js @@ -50,5 +50,3 @@ function setupTheming() { } }); } - -$(document).ready(setupTheming); diff --git a/js/translations.js b/js/translations.js index ef560e3..f1b957a 100644 --- a/js/translations.js +++ b/js/translations.js @@ -52,6 +52,7 @@ i18next }); // init set content $(document).ready(initialize); + $(document).ready(setupTheming); let delayTimer; $(document).on('input', function(event) {