parent
5bc6730e8b
commit
507e72407f
@ -1,6 +1,12 @@
|
||||
var glimeScript;
|
||||
document$.subscribe(function () {
|
||||
var glimeScript = document.createElement("script");
|
||||
if (!glimeScript) {
|
||||
glimeScript = document.createElement("script");
|
||||
glimeScript.setAttribute("data", "name: 'glime'");
|
||||
glimeScript.setAttribute("src", "https://cdn.glimelab.ai/widget/1.0.0/widget.js");
|
||||
glimeScript.setAttribute("onload", 'window.glime.init("Bl3mlvfCnTnRm5");');
|
||||
document.head.appendChild(glimeScript);
|
||||
} else {
|
||||
// window.glime.init("Bl3mlvfCnTnRm5");
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in new issue