diff --git a/app/active_calls/active_calls.php b/app/active_calls/active_calls.php index 755fcd6554..2164434e03 100644 --- a/app/active_calls/active_calls.php +++ b/app/active_calls/active_calls.php @@ -616,6 +616,7 @@ echo "\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') {