Use 'input' event for HTML input range

This commit is contained in:
Frederic Junod
2014-02-11 15:20:21 +01:00
parent ee33cbc525
commit cd8977fca1

View File

@@ -41,6 +41,6 @@ bing.on('postcompose', function(event) {
ctx.restore();
});
swipe.addEventListener('change', function() {
swipe.addEventListener('input', function() {
map.requestRenderFrame();
}, false);