Skip to content

Commit

Permalink
Fix loading of preset title panel callback (#3496)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Jun 27, 2023
1 parent 3513889 commit c582fc2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/tabs/presets/TitlePanel/PresetTitlePanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ export default class PresetTitlePanel

i18n.localizePage();
this._domWrapperDiv.toggle(true);
this._onLoadedCallback?.();

if (typeof this._onLoadedCallback === 'function') {
this._onLoadedCallback();
}
}

_readDom()
Expand Down

0 comments on commit c582fc2

Please sign in to comment.