Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
621 Widoki

Hi folks,

Im trying to embed this live chat code snippet provided to me:

<link href="https://<DOMAIN>/im_livechat/external_lib.css" rel="stylesheet" />
<script type="text/javascript" src="https://<DOMAIN>/im_livechat/external_lib.js"></script>
<script type="text/javascript" src="https://<DOMAIN>/im_livechat/loader/1"></script>


But i am getting the following browser console error when i insert it:

Uncaught (in promise) Error: Cannot patch model "PublicLivechatGlobal": there is no model registered under this name.

    at applyPatches (external_lib.js:4906:141)


Any idea what could be wrong?

I should note that the code is being injected via javascript (like document.head.appendChild(script)​) since i need to embed it conditionally.

Awatar
Odrzuć
Autor

Hi all. Any ideas about this issue?

Powiązane posty Odpowiedzi Widoki Czynność
0
kwi 25
175
0
maj 24
20
0
lut 24
639
2
lut 24
1282
2
mar 23
2443