Skip to content

Commit acef6b5

Browse files
committed
revert changes in dist file
1 parent 19bd1ed commit acef6b5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

dist/angular-jscrollpane.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
} else {
2727
$timeout(fn, 0);
2828
}
29-
$scope.$watch(function () { return $attrs.scrollAlwaysTop; }, function (newVal, oldVal) {
30-
if (newVal && $scope.pane) $scope.pane.scrollToY(0);
31-
});
3229
return $scope.$on("reinit-pane", function(event, id) {
3330
if (id === $attrs.id && $scope.pane) {
3431
console.log("Reinit pane " + id);

0 commit comments

Comments
 (0)