From 0ecdb60bf4d8817ee5190dfaa10e0a4571c76468 Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 13 Mar 2013 15:30:52 -0300 Subject: Method sliderUpdateOpacity() should be called in all slider changes --- gmap_arcgis.js | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3