Skip to content

Commit

Permalink
Merge pull request #23 from Eliak/patch-1
Browse files Browse the repository at this point in the history
IE scroll fix
  • Loading branch information
istvan-ujjmeszaros committed May 12, 2014
2 parents bdaec66 + e492187 commit 28c0c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap-touchspin/bootstrap.touchspin.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@

if (settings.mousewheel) {
originalinput.on('mousewheel DOMMouseScroll', function(ev) {
var delta = ev.originalEvent.wheelDelta || -ev.originalEvent.detail;
var delta = ev.originalEvent.wheelDelta || -ev.originalEvent.deltaY || -ev.originalEvent.detail;

ev.stopPropagation();
ev.preventDefault();
Expand Down

0 comments on commit 28c0c68

Please sign in to comment.