aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/i/appstore.pngbin0 -> 6680 bytes
-rw-r--r--web/js/map-OpenLayers.js6
2 files changed, 6 insertions, 0 deletions
diff --git a/web/i/appstore.png b/web/i/appstore.png
new file mode 100644
index 000000000..3e97c3688
--- /dev/null
+++ b/web/i/appstore.png
Binary files differ
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index b911b7c71..c8bdb85df 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -308,6 +308,12 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
fixmystreet_activate_drag();
}
fixmystreet_update_pin(lonlat);
+ // check to see if markers are visible. We click the
+ // link so that it updates the text in case they go
+ // back
+ if ( ! fixmystreet.markers.getVisibility() ) {
+ $('#hide_pins_link').click();
+ }
if (fixmystreet.page == 'new') {
return;
}