Skip to content

Commit

Permalink
Allow wheelAction to be none.
Browse files Browse the repository at this point in the history
  • Loading branch information
clkao committed Oct 17, 2011
1 parent 2786671 commit fa87b8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/iscroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ var m = Math,
that._bind(START_EV);
if (!hasTouch) {
that._bind('mouseout', that.wrapper);
that._bind(WHEEL_EV);
if (that.options.wheelAction != 'none')
that._bind(WHEEL_EV);
}

if (that.options.checkDOMChanges) that.checkDOMTime = setInterval(function () {
Expand Down

0 comments on commit fa87b8c

Please sign in to comment.