mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-02 16:09:08 +02:00
Stop hiding chat button
This commit is contained in:
parent
a91013ab16
commit
afb9a1ed7a
1 changed files with 0 additions and 8 deletions
|
@ -42,14 +42,6 @@ const CrispChat: React.VoidFunctionComponent = () => {
|
|||
s.async = true;
|
||||
d.getElementsByTagName("body")[0].appendChild(s);
|
||||
window.$crisp.push(["safe", true]); // disable warning about other event listeners
|
||||
window.$crisp.push(["do", "chat:hide"]);
|
||||
window.$crisp.push([
|
||||
"on",
|
||||
"chat:closed",
|
||||
() => {
|
||||
window.$crisp?.push(["do", "chat:hide"]);
|
||||
},
|
||||
]);
|
||||
})();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue