aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/staff.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/staff.js b/web/cobrands/fixmystreet/staff.js
index 2422d5476..4bbc0b11d 100644
--- a/web/cobrands/fixmystreet/staff.js
+++ b/web/cobrands/fixmystreet/staff.js
@@ -277,7 +277,9 @@ fixmystreet.staff_set_up = {
$('.btn--change-asset').hide();
}
}
- update_change_asset_button();
+ if ( $('.btn--change-asset').length ) {
+ update_change_asset_button();
+ }
$('.btn--change-asset').on('click', function(e) {
e.preventDefault();