aboutsummaryrefslogtreecommitdiff
path: root/gmap_arcgis.js
diff options
context:
space:
mode:
Diffstat (limited to 'gmap_arcgis.js')
-rw-r--r--gmap_arcgis.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js
index 980b07f..a3fd281 100644
--- a/gmap_arcgis.js
+++ b/gmap_arcgis.js
@@ -259,10 +259,8 @@ function gmapArcgis(config) {
if (this.config['sliders'][slider].overlays[layer] == undefined) {
this.addSlider(layer, slider);
}
- else {
- this.sliderUpdateOpacity(layer, slider);
- }
+ this.sliderUpdateOpacity(layer, slider);
},
// Fix slider opacity