добавил виджет ТП
This commit is contained in:
parent
a9bb1cd9ca
commit
18d404b482
@ -166,7 +166,13 @@
|
|||||||
var h = d.getElementsByTagName('script')[0];
|
var h = d.getElementsByTagName('script')[0];
|
||||||
h.parentNode.insertBefore(s, h);
|
h.parentNode.insertBefore(s, h);
|
||||||
})(window, document, 'https://bx.zachem.info/upload/crm/site_button/loader_1_wnj4gb.js');
|
})(window, document, 'https://bx.zachem.info/upload/crm/site_button/loader_1_wnj4gb.js');
|
||||||
|
window.addEventListener('onBitrixLiveChat', function(event) {
|
||||||
|
var widget = event.detail.widget;
|
||||||
|
widget.setCustomData("[b]{{ auth()->user()->name }}[/b] ({{ auth()->user()->email }})");
|
||||||
|
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Loading…
Reference in New Issue
Block a user