Guest User

Untitled

a guest
Sep 16th, 2020
37
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2.     (function() {
  3.         function onTidioChatApiReady() {
  4.             window.tidioChatApi.hide();
  5.         }
  6.         if (window.tidioChatApi) {
  7.             window.tidioChatApi.on("ready", onTidioChatApiReady);
  8.         } else {
  9.             document.addEventListener("tidioChat-ready", onTidioChatApiReady);
  10.         }
  11.     })();
  12.     function openTidioChatBox() {
  13.         if (window.tidioChatApi) {
  14.             window.tidioChatApi.show();
  15.         }
  16.     }
  17. </script>
RAW Paste Data