From d2ff7e525a7260b3b1ce85281200b8ac0196513b Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Tue, 30 Dec 2014 15:47:58 +0100 Subject: Fixed show/hide pins and show/hide old for norwegian cobrand. --- web/js/map-OpenLayers.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/js/map-OpenLayers.js') diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 63625efb8..facb9d3f2 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -211,7 +211,7 @@ function fixmystreet_onload() { var showhide = [ 'Show pins', 'Hide pins', 'Dangos pinnau', 'Cuddio pinnau', - "Vis nåler", "Gjem nåler", + "Vis nåler", "Skjul nåler", "Zeige Stecknadeln", "Stecknadeln ausblenden" ]; for (var i=0; i Date: Fri, 9 Jan 2015 17:40:53 +0000 Subject: Revert most of "Experiment, no pins by default." This reverts most of commit 71b400a1f5991b9a693095c417aa61e274a5215d, leaving the skip-this-step CSS changes and the tweaks to the /ajax JSON output. --- web/js/map-OpenLayers.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'web/js/map-OpenLayers.js') diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 63625efb8..c7bfef2b0 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -227,10 +227,6 @@ function fixmystreet_onload() { } }); - if (fixmystreet.initial_hide_pins) { - $('#hide_pins_link').click(); - } - $('#all_pins_link').click(function(e) { e.preventDefault(); fixmystreet.markers.setVisibility(true); -- cgit v1.2.3