aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/cobrands/fixmystreet/assets.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/assets.js b/web/cobrands/fixmystreet/assets.js
index ed6df3bca..78c87fa4e 100644
--- a/web/cobrands/fixmystreet/assets.js
+++ b/web/cobrands/fixmystreet/assets.js
@@ -407,7 +407,8 @@ function layer_visibilitychanged() {
}
return;
} else if (!this.getVisibility()) {
- this.asset_not_found();
+ asset_unselected.call(this);
+ this.asset_not_found(); // as trigger won't call on non-visible layers
}
var controls = this.controls || [];