aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/cobrands/fixmystreet/assets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/assets.js b/web/cobrands/fixmystreet/assets.js
index 07ccd73d3..6504dd069 100644
--- a/web/cobrands/fixmystreet/assets.js
+++ b/web/cobrands/fixmystreet/assets.js
@@ -503,7 +503,7 @@ function layer_visibilitychanged() {
}
return;
} else if (!this.getVisibility()) {
- asset_unselected.call(this);
+ this.get_select_control().unselectAll();
this.asset_not_found(); // as trigger won't call on non-visible layers
}