forked from Archives/Athou_commafeed
remove spaces
This commit is contained in:
@@ -93,8 +93,8 @@ module.directive('onScrollMiddle', function () {
|
|||||||
w.bind('scroll', function(e) {
|
w.bind('scroll', function(e) {
|
||||||
var scroll = d.scrollTop();
|
var scroll = d.scrollTop();
|
||||||
w.data.scrollDirection = (scroll - w.data.scrollPosition > 0) ? 'down' : 'up';
|
w.data.scrollDirection = (scroll - w.data.scrollPosition > 0) ? 'down' : 'up';
|
||||||
w.data.scrollPosition = scroll;
|
w.data.scrollPosition = scroll;
|
||||||
scope.$apply();
|
scope.$apply();
|
||||||
});
|
});
|
||||||
w.data.scrollInit = true;
|
w.data.scrollInit = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user