mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Prevent error with null
This commit is contained in:
@@ -616,6 +616,7 @@ echo "<script src='resources/javascript/arrows.js?v=$version'></script>\n";
|
||||
update_call_element(`caller_id_name_${uuid}`, origin_name);
|
||||
//remove the call arrow
|
||||
const span = document.getElementById(`arrow_${uuid}`);
|
||||
if (!span) { return; }
|
||||
span.removeChild(span.firstChild);
|
||||
}
|
||||
if (call.topic === 'exit') {
|
||||
|
||||
Reference in New Issue
Block a user