Commit f5d49e2e authored by Muhammadali's avatar Muhammadali

update-

parent 4933eac0
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.7.2", "version": "4.7.3",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -241,6 +241,12 @@ export class BoxDialer { ...@@ -241,6 +241,12 @@ export class BoxDialer {
} }
isUaRunning() { isUaRunning() {
console.log(
'isUaRunning: ==========---------------',
Boolean(typeof window.BX !== 'undefined'),
Boolean(window.localStorage.getItem(BX.bitrix_sessid() + '_mycall')),
Boolean(window.localStorage.getItem('mycall')),
);
return ( return (
Boolean(typeof window.BX !== 'undefined') && Boolean(typeof window.BX !== 'undefined') &&
Boolean(window.localStorage.getItem(BX.bitrix_sessid() + '_mycall')) && Boolean(window.localStorage.getItem(BX.bitrix_sessid() + '_mycall')) &&
......
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