ghusse / jQRangeSlider

A jquery UI range selection slider that supports dates
http://ghusse.github.com/jQRangeSlider/
GNU General Public License v3.0
671 stars 147 forks source link

Default values not working on big numbers #68

Closed hpop closed 11 years ago

hpop commented 11 years ago

Hello,

in my projet the rangeslider is behaving stange on big numbers:

slider.rangeSlider({arrows:false,
                          valueLabels: "hide",
                          step: step,
                          bounds:{min: 5, max: 3999},
                          defaultValues:{min: 5, max: 3999}
                         });

If I initialise the slider with this values the min and max values are set to 3999.

I played around a little bit and found out that this won't happen if I set 'step' to 2 or null but even in this case It happens again it the numbers are getting bigger.

I tried to reproduce it in a jsfiddle (http://jsfiddle.net/TcDbG/) but it's working perfectly there. Could be because I'm using jQAllRangeSlider s -min.js on my page?

Cheers, Helmut

hpop commented 11 years ago

Ok nevermind.. it was a weird jQuery error caused by a typo a few lines later in code..

Sorry

ghusse commented 11 years ago

:)