diff options
author | Silvio <silvio@socioambiental.org> | 2013-04-17 18:00:58 -0300 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2013-04-17 18:00:58 -0300 |
commit | 840b02eb4b0178136060232fd8000f27ac2ed469 (patch) | |
tree | bbe27acf673ffae5279d066f5dd42bde476d8c60 | |
parent | 0910647b7b15c9fbb87cd6f3832c1c921e0d7a42 (diff) | |
download | gmap_arcgis_js-840b02eb4b0178136060232fd8000f27ac2ed469.tar.gz gmap_arcgis_js-840b02eb4b0178136060232fd8000f27ac2ed469.tar.bz2 |
Add offset to selectToUISlider()
-rw-r--r-- | gmap_arcgis.js | 2 |
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(); |