Skip to content

Commit b59412b

Browse files
committed
Update angular-slimscroll.js
fix #13
1 parent 0256958 commit b59412b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

angular-slimscroll.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ angular.module('ui.slimscroll', []).directive('slimscroll', function () {
3434
};
3535

3636
var destructor = function () {
37+
$($elem).slimScroll({ destroy: true });
3738
off.forEach(function (unbind) {
3839
unbind();
3940
});

0 commit comments

Comments
 (0)