Skip to content

Commit

Permalink
refactor(scroller): rename checkBoundaries
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoslin committed Jul 29, 2013
1 parent c8b170e commit 62d7157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/scroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ angular.module('ajoslin.scrolly.scroller', [
//If we're out of bounds, or held on to our spot for too long,
//no momentum. Just check that we're in bounds.
if (self.outOfBounds(transformer.pos) || dragData.inactiveDrag) {
checkBoundaries();
self.checkBoundaries();
} else {
var momentum = self.momentum(dragData);
if (momentum.position !== transformer.pos) {
Expand Down

0 comments on commit 62d7157

Please sign in to comment.