Skip to content

Commit

Permalink
Fix a corner case where scrollingComplete callback never fires
Browse files Browse the repository at this point in the history
  • Loading branch information
kanongil committed Jan 9, 2014
1 parent dadd850 commit ec0fe75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Scroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,8 @@ var Scroller;
if (!self.__refreshActive) {
self.__startDeceleration(timeStamp);
}
} else {
self.options.scrollingComplete();
}
} else {
self.options.scrollingComplete();
Expand Down

0 comments on commit ec0fe75

Please sign in to comment.