diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-08-16 15:35:32 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-08-16 18:39:36 +0100 |
commit | ce61bff5a9c9133f4ea522830c136095068ef8d9 (patch) | |
tree | aab7c2be8b8c991b2e0a2571434a8f723854a563 | |
parent | 05f6e047cbce6dac05342659bd5f21ffcd88e833 (diff) |
Improve try again button by making it go back.
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index 689ad2755..bafe88635 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -896,6 +896,10 @@ fixmystreet.display = { width: width, height: height }); + $('#try_again').click(function(e){ + e.preventDefault(); + history.back(); + }); $('.mobile-map-banner span').text(translation_strings.right_place); |