Skip to content

Commit

Permalink
Pull request #23: LCZ-223 - replace arrow function with es5 compatibl…
Browse files Browse the repository at this point in the history
…e function

Merge in MML/infobip-mobile-messaging-huawei from LCZ-223-remove-arrow-function to master

Squashed commit of the following:

commit 5b53226070badf211afccfcac4b6af66baa27c8a
Author: Dmitry Ilin <[email protected]>
Date:   Fri Nov 26 14:48:28 2021 +0300

    LCZ-223 - replace arrow function with es5 compatible function
  • Loading branch information
Dmitry Ilin authored and Dmitry Ilin committed Nov 29, 2021
1 parent b2ada1a commit bd5e263
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit bd5e263

Please sign in to comment.