diff --git a/infobip-mobile-messaging-huawei-chat-sdk/src/main/assets/inappchat-widget.html b/infobip-mobile-messaging-huawei-chat-sdk/src/main/assets/inappchat-widget.html index fd1bd5f9..5d32cb8e 100644 --- a/infobip-mobile-messaging-huawei-chat-sdk/src/main/assets/inappchat-widget.html +++ b/infobip-mobile-messaging-huawei-chat-sdk/src/main/assets/inappchat-widget.html @@ -69,7 +69,9 @@ // If all is OK -> initialize widget, enable native controls and show widget function init() { liveChat(INIT); - liveChat(SHOW, null, () => onShowCallback()); + liveChat(SHOW, null, function() { + onShowCallback(); + }); } function getQueryParameter(name){