diff --git a/src/tabs/presets/TitlePanel/PresetTitlePanel.js b/src/tabs/presets/TitlePanel/PresetTitlePanel.js index a74efd723da..7673190ede6 100644 --- a/src/tabs/presets/TitlePanel/PresetTitlePanel.js +++ b/src/tabs/presets/TitlePanel/PresetTitlePanel.js @@ -125,7 +125,10 @@ export default class PresetTitlePanel i18n.localizePage(); this._domWrapperDiv.toggle(true); - this._onLoadedCallback?.(); + + if (this._onLoadedCallback === typeof Function) { + this._onLoadedCallback(); + } } _readDom()