Commit 58321625 authored by Muhammadali's avatar Muhammadali

update-

parent 3b12a047
{
"name": "boxdialer",
"version": "4.6.7",
"version": "4.6.8",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -242,9 +242,9 @@ export class BoxDialer {
isUaRunning() {
return (
typeof BX !== 'undefined' &&
window.localStorage.getItem(BX.bitrix_sessid() + '_mycall') &&
window.localStorage.getItem('mycall')
Boolean(typeof window.BX !== 'undefined') &&
Boolean(window.localStorage.getItem(BX.bitrix_sessid() + '_mycall')) &&
Boolean(window.localStorage.getItem('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