From: Sarah Hoffmann Date: Sat, 4 Feb 2012 07:53:02 +0000 (+0000) Subject: remove trailing commas in HTML to make IE happy (thanks to TomH) X-Git-Tag: v2.0.0~121 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/d3c883f1b5e1db91997ec5c4fe4a631e7135dc3f remove trailing commas in HTML to make IE happy (thanks to TomH) --- diff --git a/lib/template/details-html.php b/lib/template/details-html.php index a02d3abf..721af44d 100644 --- a/lib/template/details-html.php +++ b/lib/template/details-html.php @@ -52,7 +52,7 @@ body { numZoomLevels: 19, units: 'm', projection: new OpenLayers.Projection("EPSG:900913"), - displayProjection: new OpenLayers.Projection("EPSG:4326"), + displayProjection: new OpenLayers.Projection("EPSG:4326") } ); map.addLayer(new OpenLayers.Layer.OSM.("Default")); @@ -69,7 +69,7 @@ body { fillColor: "#F0F7FF", strokeWidth: 2, strokeOpacity: 0.75, - fillOpacity: 0.75, + fillOpacity: 0.75 }; var proj_EPSG4326 = new OpenLayers.Projection("EPSG:4326"); var proj_map = map.getProjectionObject(); diff --git a/lib/template/search-html.php b/lib/template/search-html.php index f7013793..a9d328a8 100644 --- a/lib/template/search-html.php +++ b/lib/template/search-html.php @@ -290,7 +290,7 @@ form{ projection: new OpenLayers.Projection("EPSG:900913"), displayProjection: new OpenLayers.Projection("EPSG:4326"), eventListeners: { - "moveend": mapEventMove, + "moveend": mapEventMove } } ); map.addLayer(new OpenLayers.Layer.OSM.("Default"));