diff --git a/htdocs/mapscript.js b/htdocs/mapscript.js index 716c90a..99f0854 100644 --- a/htdocs/mapscript.js +++ b/htdocs/mapscript.js @@ -248,7 +248,7 @@ function search(e) { regex = new RegExp(query, 'i'); if (item.feature.properties.name.match(regex)) { el = document.createElement("li"); - el.innerHTML = "[" + layers._layers[i].name + "] " + '' + item.feature.properties.name + ""; + el.innerHTML = "[" + layers._layers[i].name + "] " + '' + item.feature.properties.name + ""; results.appendChild(el); } break;