[F.END] Patch: removed typeof where was not necessary
This commit is contained in:
parent
d7db0952d3
commit
127ffdc7b9
|
@ -75,7 +75,7 @@ function zerocalcareDisplay() {
|
|||
// add if location is not empty -- default location should be selected by backend
|
||||
var locationElement = document.createElement('div');
|
||||
var locationText = document.createElement('span');
|
||||
if (typeof json_obj[i]['LOCATION'] !== undefined && json_obj[i]['LOCATION'] != '') {
|
||||
if (json_obj[i]['LOCATION'] !== undefined && json_obj[i]['LOCATION'] != '') {
|
||||
locationText.appendChild(document.createTextNode(json_obj[i]['LOCATION']));
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue