freqdec / fd-slider

An Unobtrusive Accessible Slider script that can also be used as an HTML5 Input Range polyfill solution
Other
264 stars 55 forks source link

Update js/fd-slider.js #34

Closed adatta02 closed 11 years ago

adatta02 commented 11 years ago

Fixes issue where attribute changes on the original input aren't reflected on the shim. https://github.com/freqdec/fd-slider/issues/33

acdha commented 11 years ago

@adatta02 Thanks for the fix - I just ran into this while attempting to change the slider ranges programatically. Without this patch there's no way to adjust the max value which completely works: I expected fdSlider.updateSlider() to work but it updated the values without changing the visible display causing e.g. the thumb to stop before the visual end of the track.

With this patch, updates work as expected without any fd-slider specific workarounds.

freqdec commented 11 years ago

Hi Guys,

This issue has finally been addressed. More info in reply to issue #33. Thanks.