Reverted back to onchange due to lack of support of input range in firefox 21

This commit is contained in:
jdescottes 2013-06-19 00:29:07 +02:00
parent ac01014117
commit 0fe2e981b0

View File

@ -21,7 +21,7 @@
// the oninput event won't work on IE10 unfortunately, but at least will provide a // the oninput event won't work on IE10 unfortunately, but at least will provide a
// consistent behavior across all other browsers that support the input type range // consistent behavior across all other browsers that support the input type range
// see https://bugzilla.mozilla.org/show_bug.cgi?id=853670 // see https://bugzilla.mozilla.org/show_bug.cgi?id=853670
$("#preview-fps")[0].addEventListener('input', this.onFPSSliderChange.bind(this)); $("#preview-fps")[0].addEventListener('change', this.onFPSSliderChange.bind(this));
}; };
ns.AnimatedPreviewController.prototype.onFPSSliderChange = function (evt) { ns.AnimatedPreviewController.prototype.onFPSSliderChange = function (evt) {