diff --git a/src/tabs/presets/TitlePanel/PresetTitlePanel.js b/src/tabs/presets/TitlePanel/PresetTitlePanel.js index a74efd723d..ec5d3673c5 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 (typeof this._onLoadedCallback === 'function') { + this._onLoadedCallback(); + } } _readDom()