From e1baa251fb6ef55adbd664bf80c50601ce68807f Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 19 Apr 2020 20:12:57 +0200 Subject: [PATCH] Fix Firefox compatibility once more --- htdocs/mapscript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;