From 699d51acb431aa13d1a73a8f9a122e72e81816d0 Mon Sep 17 00:00:00 2001 From: Alexey Babich Date: Wed, 19 Aug 2020 12:11:13 +0300 Subject: [PATCH] Return old behavior with ready callback for jquery (#14297) (#14298) --- js/ui/themes.js | 2 ++ 1 file changed, 2 insertions(+) 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); }