remove spaces

This commit is contained in:
Athou
2013-05-06 13:10:47 +02:00
parent c223943d03
commit 9f772772b2

View File

@@ -93,8 +93,8 @@ module.directive('onScrollMiddle', function () {
w.bind('scroll', function(e) {
var scroll = d.scrollTop();
w.data.scrollDirection = (scroll - w.data.scrollPosition > 0) ? 'down' : 'up';
w.data.scrollPosition = scroll;
scope.$apply();
w.data.scrollPosition = scroll;
scope.$apply();
});
w.data.scrollInit = true;
}