@chat21/chat21-web-widget 5.0.56-rc.2 → 5.0.56-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/package.json +1 -1
- package/src/assets/twp/chatbot-panel.html +4 -0
- package/src/launch.js +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -285,6 +285,10 @@
|
|
|
285
285
|
fjs.parentNode.insertBefore(js, fjs);
|
|
286
286
|
}(document, 'script', 'tiledesk-jssdk'));
|
|
287
287
|
|
|
288
|
+
window.addEventListener('load', (event)=> {
|
|
289
|
+
document.dispatchEvent(new Event('mousemove'))
|
|
290
|
+
})
|
|
291
|
+
|
|
288
292
|
window.Tiledesk('onLoadParams', function(event_data) {
|
|
289
293
|
console.log("onLoadParams Tiledesk FN", event_data);
|
|
290
294
|
// window.Tiledesk('signInWithCustomToken', 'JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2MDliOGVmYTg3MzJlYjAwMTQxNzYzZDlfNWU0ZWNiOThiNzhlZTQwMDE3NDA2MTEwIiwiZmlyc3RuYW1lIjoiS2VsbHkiLCJsYXN0bmFtZSI6IkdyYWNlIiwiZW1haWwiOiJncmFjZUBlbWFpbG5hLmNvIiwic3ViIjoidXNlcmV4dGVybmFsIiwiYXVkIjoiaHR0cHM6Ly90aWxlZGVzay5jb20vcHJvamVjdHMvNjA5YjhlZmE4NzMyZWIwMDE0MTc2M2Q5IiwiaWF0IjoxNjQxODAzODk0fQ.p0reTwd25p93CsDTyQa8tkihgFxThAI4DXloNc6vbXw')
|
package/src/launch.js
CHANGED
|
@@ -66,7 +66,7 @@ function loadIframe(tiledeskScriptBaseLocation) {
|
|
|
66
66
|
srcTileDesk += '<meta charset="utf-8">';
|
|
67
67
|
srcTileDesk += '<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />';
|
|
68
68
|
srcTileDesk += '<title>Tilechat Widget</title>';
|
|
69
|
-
srcTileDesk += '<base href="'+tiledeskScriptBaseLocation+ '">';
|
|
69
|
+
srcTileDesk += '<base href="'+tiledeskScriptBaseLocation+ '/">';
|
|
70
70
|
srcTileDesk += '<link rel="icon" type="image/x-icon" href="favicon.ico">';
|
|
71
71
|
srcTileDesk += '<link rel="stylesheet" type="text/css" href="' + tiledeskScriptBaseLocation +'/assets/styles/tiledesk_v1.scss" media="all">';
|
|
72
72
|
srcTileDesk += '</head>';
|