JS-SDK: Added check for onContentReady event exist in config
This commit is contained in:
parent
32180ce6e2
commit
ba31c8f94d
@ -817,7 +817,8 @@
|
|||||||
|
|
||||||
if (loader) {
|
if (loader) {
|
||||||
loader.remove();
|
loader.remove();
|
||||||
this.config.events.onContentReady();
|
this.config.events?.onContentReady &&
|
||||||
|
this.config.events.onContentReady();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user