diff --git a/server/static/js/CoordinatesDisplay.js b/server/static/js/CoordinatesDisplay.js index 37392cf..aa35473 100644 --- a/server/static/js/CoordinatesDisplay.js +++ b/server/static/js/CoordinatesDisplay.js @@ -20,10 +20,10 @@ var CoordinatesDisplay = L.Control.extend({ function update(){ var html = ""; if (hoverCoord) - html += = "X=" + parseInt(hoverCoord.lng) + " Z=" + parseInt(hoverCoord.lat); + html = html + "X=" + parseInt(hoverCoord.lng) + " Z=" + parseInt(hoverCoord.lat); if (clickCoord) - html += = " (marked: X=" + parseInt(clickCoord.lng) + " Z=" + parseInt(clickCoord.lat) + ")"; + html = html + " (marked: X=" + parseInt(clickCoord.lng) + " Z=" + parseInt(clickCoord.lat) + ")"; div.innerHTML = html; }