JS-SDK: Added check for onContentReady event exist in config

This commit is contained in:
Ilya Oleshko 2024-08-16 16:28:33 +03:00
parent 32180ce6e2
commit ba31c8f94d

View File

@ -817,7 +817,8 @@
if (loader) {
loader.remove();
this.config.events.onContentReady();
this.config.events?.onContentReady &&
this.config.events.onContentReady();
}
}
}