aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/staff.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/staff.js b/web/cobrands/fixmystreet/staff.js
index 2a1c6a8f4..2f9de6c7e 100644
--- a/web/cobrands/fixmystreet/staff.js
+++ b/web/cobrands/fixmystreet/staff.js
@@ -312,7 +312,8 @@ $.extend(fixmystreet.set_up, {
$updateFormH2.hide().nextAll().hide();
$updateFormBtn.addClass('btn btn--provide-update');
$updateFormBtn.text( $updateFormH2.text() );
- $updateFormBtn.on('click', function(){
+ $updateFormBtn.on('click', function(e) {
+ e.preventDefault();
$updateFormH2.nextAll().toggle();
});
},