2
0

fix(wp): 🐛 Auto open chat bubble

This commit is contained in:
Baptiste Arnaud
2022-04-02 12:04:39 +02:00
parent 327da3104d
commit a4d4576e48
4 changed files with 12 additions and 7 deletions

View File

@ -128,7 +128,9 @@ class Typebot_Public
$url .
'",
autoOpenDelay: ' .
get_option('chat_delay') * 1000 .
(get_option('chat_delay') === '' || get_option('chat_delay') === null
? 'undefined'
: get_option('chat_delay') * 1000) .
',
button: {
color: "' .