Commit 89555512 authored by Muhammadali's avatar Muhammadali

update 1.4.8

parent 814b1502
{
"name": "boxdialer",
"version": "1.4.7",
"version": "1.4.8",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -238,7 +238,11 @@ export class BoxDialer {
closeBxCall() {
if (window.BX24 && window.BX24.placement) {
window?.BX24.placement.call('CallCardClose', {}, () => {});
} else if (window.alovoicePhone && window.alovoicePhone.callMethods) {
} else if (
window.alovoicePhone &&
window.alovoicePhone.callMethods &&
window.alovoicePhone
) {
window?.alovoicePhone?.close();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment