diff --git a/jquery.slimscroll.js b/jquery.slimscroll.js index 90caed3..2cac56c 100644 --- a/jquery.slimscroll.js +++ b/jquery.slimscroll.js @@ -395,7 +395,7 @@ } else { - document.attachEvent("onmousewheel", _onWheel) + target.attachEvent("onmousewheel", _onWheel) } }