Skip to content

Commit

Permalink
Disable slimScroll on hidden elements
Browse files Browse the repository at this point in the history
  • Loading branch information
ar2rsawseen committed Feb 10, 2015
1 parent afb7a71 commit 5d2d5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/express/public/javascripts/dom/slimScroll.min.js
Expand Up @@ -199,7 +199,7 @@
var _onWheel = function(e)
{
// use mouse wheel only when mouse is over
if (!isOverPanel) { return; }
if (!isOverPanel || !me.is(":visible")) { return; }

var e = e || window.event;

Expand Down

0 comments on commit 5d2d5e2

Please sign in to comment.