Commit 6568a7a2 authored by Muhammadali's avatar Muhammadali

update-

parent 9a75590c
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "4.7.4", "version": "4.7.5",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -15,6 +15,7 @@ const root = createRoot(container); ...@@ -15,6 +15,7 @@ const root = createRoot(container);
window.onbeforeunload = () => { window.onbeforeunload = () => {
if (typeof BX !== 'undefined') { if (typeof BX !== 'undefined') {
console.log('window_onbeforeunload =============-------------');
localStorage.removeItem('mycall'); localStorage.removeItem('mycall');
localStorage.removeItem(BX.bitrix_sessid() + '_mycall'); localStorage.removeItem(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