diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index 291455aa7..49f14f0de 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -256,6 +256,13 @@ $.extend(fixmystreet.set_up, { document.createElement('img').src = '/i/pin-green.png'; } + $('a[href*="around"]').each(function() { + this.href = this.href + (this.href.indexOf('?') > -1 ? '&js=1' : '?js=1'); + }); + $('form[action*="around"]').each(function() { + $('<input type="hidden" name="js" value="1">').prependTo(this); + }); + // Focus on postcode box on front page $('#pc').focus(); |