From d3c883f1b5e1db91997ec5c4fe4a631e7135dc3f Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 4 Feb 2012 07:53:02 +0000 Subject: [PATCH] remove trailing commas in HTML to make IE happy (thanks to TomH) --- lib/template/details-html.php | 4 ++-- lib/template/search-html.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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")); -- 2.39.5