fix(typebot-js): 🐛 Open iframe on proactive message click
This commit is contained in:
@ -77,8 +77,9 @@ const onProactiveMessageClick = (
|
||||
bubble: HTMLDivElement,
|
||||
iframe: HTMLIFrameElement
|
||||
): void => {
|
||||
loadTypebotIfFirstOpen(iframe)
|
||||
bubble.classList.add('iframe-opened')
|
||||
iframe.style.display === 'none'
|
||||
? openIframe(bubble, iframe)
|
||||
: closeIframe(bubble, iframe)
|
||||
bubble.classList.remove('message-opened')
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user