diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-04-26 15:53:42 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-05-28 15:36:25 +0100 |
commit | d28673c44249c1ad2c98539da40a19facac8f5ef (patch) | |
tree | cb762afab010bcd27892b7d38ec01412f1fd4ffb /web/cobrands/bathnes/js.js | |
parent | 418ed096e7c79c8ccde9a2eb5023a7a4f0210402 (diff) |
Factor in common call to $.extend.
Diffstat (limited to 'web/cobrands/bathnes/js.js')
-rw-r--r-- | web/cobrands/bathnes/js.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/cobrands/bathnes/js.js b/web/cobrands/bathnes/js.js index afc7df44d..51c8bcfed 100644 --- a/web/cobrands/bathnes/js.js +++ b/web/cobrands/bathnes/js.js @@ -26,13 +26,13 @@ fixmystreet.roadworks.filter = function(feature) { var org_id = '114'; var body = "Bath and North East Somerset Council"; -fixmystreet.assets.add($.extend(true, {}, fixmystreet.roadworks.layer_future, { +fixmystreet.assets.add(fixmystreet.roadworks.layer_future, { http_options: { params: { organisation_id: org_id } }, body: body -})); -fixmystreet.assets.add($.extend(true, {}, fixmystreet.roadworks.layer_planned, { +}); +fixmystreet.assets.add(fixmystreet.roadworks.layer_planned, { http_options: { params: { organisation_id: org_id } }, body: body -})); +}); })(); |