diff options
-rw-r--r-- | www/js/fixmystreet.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/fixmystreet.js b/www/js/fixmystreet.js index a2551db..282e3f4 100644 --- a/www/js/fixmystreet.js +++ b/www/js/fixmystreet.js @@ -261,7 +261,7 @@ $(document).bind('pageinit', function(){ $('#form_category').change( form_category_onchange ); // Geolocation - if (geo_position_js.init()) { + if (geo_position_js.init() && !$('#geolocate_link').length) { $('#postcodeForm').after('<a href="#" id="geolocate_link">… or locate me automatically</a>'); $('#geolocate_link').click(getPosition); } |