Skip to content

Commit

Permalink
Return old behavior with ready callback for jquery (#14297) (#14298)
Browse files Browse the repository at this point in the history
  • Loading branch information
babich-a authored Aug 19, 2020
1 parent 09c9a3c commit 699d51a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/ui/themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ export function current(options) {
} else {
if(isAutoInit) {
waitForThemeLoad(ANY_THEME);
themeReadyCallback.fire();
themeReadyCallback.empty();
} else {
throw errors.Error('E0021', currentThemeName);
}
Expand Down

0 comments on commit 699d51a

Please sign in to comment.