Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1156 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

Hi all. Any ideas about this issue?

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 4 25
795
0
thg 5 24
20
0
thg 2 24
1147
2
thg 2 24
2297
2
thg 3 23
2972