diff --git a/js/ui/themes.js b/js/ui/themes.js index 3b077deba383..1e540782bc95 100644 --- a/js/ui/themes.js +++ b/js/ui/themes.js @@ -254,6 +254,8 @@ export function current(options) { } else { if(isAutoInit) { waitForThemeLoad(ANY_THEME); + themeReadyCallback.fire(); + themeReadyCallback.empty(); } else { throw errors.Error('E0021', currentThemeName); }