Skip to content

Commit

Permalink
Merge pull request #5809 from sclausen/2.0
Browse files Browse the repository at this point in the history
fix(infinitescroll): added method to reset _highestY
  • Loading branch information
adamdbradley committed Mar 12, 2016
2 parents 7dfbb9d + b864dc4 commit f1348ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ionic/components/infinite-scroll/infinite-scroll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ export class InfiniteScroll {
this._setListeners(shouldEnable);
}

resetHighestY() {
this._highestY = 0;
}

private _setListeners(shouldListen: boolean) {
if (this._init) {
if (shouldListen) {
Expand Down

0 comments on commit f1348ad

Please sign in to comment.