From 476481c837205def4a0d8e26f9e4476366a1736f Mon Sep 17 00:00:00 2001 From: jllord Date: Tue, 28 May 2013 20:15:44 -0700 Subject: [PATCH] small tweaks --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 1e1aa00..54a2618 100644 --- a/index.html +++ b/index.html @@ -151,7 +151,7 @@ //}) function highlightLastMarker(geoJSON, highlightColor) { - geoJSON.reverse()[0].properties["marker-color"] = highlightColor + geoJSON[0].properties["marker-color"] = highlightColor return geoJSON } @@ -184,7 +184,7 @@ $('#selectedSpot').html(selectedSpot).css("display", "inline") var feature = e.layer.feature var popupContent = '

' + feature.opts.name + '

' - e.layer.bindPopup(popupContent,{closeButton: true,}) + e.layer.bindPopup(popupContent,{closeButton: false,}) }) } // .addControl(L.mapbox.geocoderControl('examples.map-vyofok3q'));