mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix a typo use &&
This commit is contained in:
@@ -957,7 +957,7 @@ echo "<script src='resources/javascript/arrows.js?v=$version'></script>\n";
|
||||
value = value.substring(0, truncate_application_data_length);
|
||||
}
|
||||
const element = document.getElementById(element_name);
|
||||
if (element !== null && value !== null, value.length > 0 && element.textContent !== value) {
|
||||
if (element !== null && value !== null && value.length > 0 && element.textContent !== value) {
|
||||
element.textContent = value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user