diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-05-26 11:57:21 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-05-26 11:57:21 +0100 |
commit | a04abdebaf280cbfbad65fabb2c64d88f9e3d72c (patch) | |
tree | 0adcfeb9a4e11737417eee488038b7894c9f50c2 /perllib/FixMyStreet/Map/Google.pm | |
parent | 45f6e7e798b203df12938c4b06976fa310173093 (diff) |
Get header JS <script> out of code and into templates.
Diffstat (limited to 'perllib/FixMyStreet/Map/Google.pm')
-rw-r--r-- | perllib/FixMyStreet/Map/Google.pm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/perllib/FixMyStreet/Map/Google.pm b/perllib/FixMyStreet/Map/Google.pm index 20c3ad2b6..ceb3a53ed 100644 --- a/perllib/FixMyStreet/Map/Google.pm +++ b/perllib/FixMyStreet/Map/Google.pm @@ -11,13 +11,6 @@ package FixMyStreet::Map::Google; use strict; use mySociety::Web qw(ent); -sub header_js { - return ' -<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> -<script type="text/javascript" src="/js/map-google.js"></script> -'; -} - # display_map C PARAMS # PARAMS include: # latitude, longitude for the centre point of the map |