diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-14 12:32:28 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-15 15:57:38 +0000 |
commit | 5846b85b117714041be38ae4a79c2a849aba73ae (patch) | |
tree | 1b015825325dd8f433640f9553c892336a802738 /perllib/FixMyStreet/Map.pm | |
parent | 15acb885f5240f63a5e19c4474851291518f0677 (diff) |
Move map JS to code, to be used on all pages.
Diffstat (limited to 'perllib/FixMyStreet/Map.pm')
-rw-r--r-- | perllib/FixMyStreet/Map.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Map.pm b/perllib/FixMyStreet/Map.pm index e0e3c3128..0c75ab891 100644 --- a/perllib/FixMyStreet/Map.pm +++ b/perllib/FixMyStreet/Map.pm @@ -67,6 +67,10 @@ sub display_map { return $map_class->display_map(@_); } +sub map_javascript { + $map_class->map_javascript; +} + sub map_features { my ( $c, %p ) = @_; |