aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2013-04-17 18:00:58 -0300
committerSilvio <silvio@socioambiental.org>2013-04-17 18:00:58 -0300
commit840b02eb4b0178136060232fd8000f27ac2ed469 (patch)
treebbe27acf673ffae5279d066f5dd42bde476d8c60
parent0910647b7b15c9fbb87cd6f3832c1c921e0d7a42 (diff)
downloadgmap_arcgis_js-840b02eb4b0178136060232fd8000f27ac2ed469.tar.gz
gmap_arcgis_js-840b02eb4b0178136060232fd8000f27ac2ed469.tar.bz2
Add offset to selectToUISlider()
-rw-r--r--gmap_arcgis.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js
index 06d8920..c4d8dbb 100644
--- a/gmap_arcgis.js
+++ b/gmap_arcgis.js
@@ -399,7 +399,7 @@ function gmapArcgis(config) {
$(element).selectToUISlider({
sliderOptions: {
slide: function(event, ui) {
- self.sliderUpdate.apply(self, [ ui.value, slider ]);
+ self.sliderUpdate.apply(self, [ ui.value - 1, slider ]);
}
}
}).hide();