Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

HTML
<div id="my-chat-container"></div>
        <button onclick="TwinClient.open(); return false;">Open Chat</button>
        <p><a href='#' onclick="TwinClient.open(); return false;">Open Chat</a></p>
        <script>(function () {
            const script = document.createElement("script");
            script.async = true;
            script.src = "https://tcl.twin24.ai/widget/v3/manual.umd.min.js";
            document.head.appendChild(script);
            script.onload = () => {
              TChat.init("#my-chat-container", {
                chatId: "f7e81be0cc51442a-767b37a3-444542f5-a13ab163-cae28473843f4ba997a6695b"
              }).then((client) => (window.TChatClient = client));
            };
            })();
        </script>
        <style>.twin-chat .twc-chat-full-wrapper {
            width: 100%;
            height: 100%;
            bottom: 0;
            right: 0;
            z-index: 1000000;
            }
            .twin-chat .twc-chat-full-wrapper .twc-chat-full {
            width: 100%;
            height: 100%;
            border-radius: 0;
            }
            .twin-chat .twc-button-type {
            display: none;
            } 
        </style>
          
    </body>

...