aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/bexley/js.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-08-07 09:57:44 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-08-07 09:57:46 +0100
commita0cb617553bb47c9ad09c60788adbfee27048b40 (patch)
tree2579b6472b8659c6cc022dd137be3cd164e47356 /web/cobrands/bexley/js.js
parente5d107a72d38cf9ed45b3df3888e2348a3538fa3 (diff)
Do not pass category element into change event.
Diffstat (limited to 'web/cobrands/bexley/js.js')
-rw-r--r--web/cobrands/bexley/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cobrands/bexley/js.js b/web/cobrands/bexley/js.js
index 907185aea..f2ee820b2 100644
--- a/web/cobrands/bexley/js.js
+++ b/web/cobrands/bexley/js.js
@@ -114,7 +114,7 @@ fixmystreet.assets.add(defaults, {
// We need to trigger the below function on subcategory change also
$(function(){
$("#problem_form").on("change.category", "#form_DALocation", function() {
- $(fixmystreet).trigger('report_new:category_change', [ $('#form_category') ]);
+ $(fixmystreet).trigger('report_new:category_change');
});
});