From 917be7924e23fd4e0168927f16fa5d6e64ca4508 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 15 Aug 2017 18:03:10 +0100 Subject: Remove Show all pins link and on_map_list_limit. /around will now show all reports all the time, but we are about to introduce pagination to stop that. --- web/js/map-google.js | 37 ------------------------------------- 1 file changed, 37 deletions(-) (limited to 'web/js/map-google.js') diff --git a/web/js/map-google.js b/web/js/map-google.js index 6be2a0232..803ac4f3e 100644 --- a/web/js/map-google.js +++ b/web/js/map-google.js @@ -130,9 +130,6 @@ fixmystreet.maps = {}; ajax: 1, bbox: bbox }; - if (fixmystreet.all_pins) { - params.all_pins = 1; - } $.getJSON('/around', params, read_pin_json); } @@ -224,40 +221,6 @@ fixmystreet.maps = {}; this.innerHTML = translation_strings.show_pins; } }); - - $('#all_pins_link').click(function(e) { - var i; - e.preventDefault(); - for (i=0; i