diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2016-06-29 14:42:06 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-07-11 15:13:12 +0100 |
commit | bdaf17a566b235865ad004e427c6f2230df39f24 (patch) | |
tree | 8a2ec5133072ec32e51ee187b8a38d439e0e449f /web/js/map-google.js | |
parent | ec68f429cc3a5e272456754b631002cc8f58856a (diff) |
Simplify "rap-notes" visibility toggling
On mobile, the notes in `#report-a-problem-sidebar` are hidden by
default, and can be toggled using the `.rap-notes-trigger`.
Diffstat (limited to 'web/js/map-google.js')
-rw-r--r-- | web/js/map-google.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/web/js/map-google.js b/web/js/map-google.js index d1bde98b6..a00d52ba1 100644 --- a/web/js/map-google.js +++ b/web/js/map-google.js @@ -149,11 +149,6 @@ fixmystreet.maps = {}; } $(window).hashchange(function(){ - if (location.hash == '#report' && $('.rap-notes').is(':visible')) { - $('.rap-notes-close').click(); - return; - } - if (location.hash && location.hash != '#') { return; } |