Skip to content

Commit

Permalink
fix "destroy" can't remove '.slimScrollRail' and '.slimScrollBar'
Browse files Browse the repository at this point in the history
  • Loading branch information
laomao800 committed Sep 8, 2015
1 parent 5282518 commit d6309d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.slimscroll.js
Expand Up @@ -100,8 +100,8 @@
var offset = me.scrollTop();

// find bar and rail
bar = me.closest('.' + o.barClass);
rail = me.closest('.' + o.railClass);
bar = me.siblings('.' + o.barClass);
rail = me.siblings('.' + o.railClass);

getBarHeight();

Expand Down

0 comments on commit d6309d6

Please sign in to comment.