freqdec/fd-slider — pull request #27 by willbryant (2012-07-16 08:18:18+00:00)
Title: fix browser resize events triggering onchange

When the browser window is resized, the resize event is fired. Because the script triggers redraw on resize (which is sensible), and redraw calls valueToPixels, and that calls setInputValue, this was firing a change event.

This is not correct - the value hasn't actually changed. In our app we had hooked onchange to select the radiobutton that corresponds to the "you choose" value, and this was triggered when the firefox window was resized.