Commit 89555512 authored by Muhammadali's avatar Muhammadali

update 1.4.8

parent 814b1502
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "1.4.7", "version": "1.4.8",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -238,7 +238,11 @@ export class BoxDialer { ...@@ -238,7 +238,11 @@ export class BoxDialer {
closeBxCall() { closeBxCall() {
if (window.BX24 && window.BX24.placement) { if (window.BX24 && window.BX24.placement) {
window?.BX24.placement.call('CallCardClose', {}, () => {}); window?.BX24.placement.call('CallCardClose', {}, () => {});
} else if (window.alovoicePhone && window.alovoicePhone.callMethods) { } else if (
window.alovoicePhone &&
window.alovoicePhone.callMethods &&
window.alovoicePhone
) {
window?.alovoicePhone?.close(); 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