Skip to content

Commit 788e9ff

Browse files
author
Jicheng Lu
committed
resist chatbox
1 parent 3215171 commit 788e9ff

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/lib/common/LiveChatEntry.svelte

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@
4747
<div class="mb-3 float-end wave-effect" transition:fade={{ delay: 100, duration: 500 }}>
4848
<button class="btn btn-transparent" on:click={() => openChatBox()}>
4949
<img alt="live chat" class="avatar-md rounded-circle" src={PUBLIC_LIVECHAT_ENTRY_ICON} />
50+
<iframe
51+
src={chatUrl}
52+
width="0px"
53+
height="0px"
54+
class={`border border-2 rounded-3 m-3 float-end chat-iframe`}
55+
title="live chat"
56+
id={CHAT_FRAME_ID}
57+
/>
5058
</button>
5159
</div>
5260
{/if}

0 commit comments

Comments
 (0)