Skip to content

Commit

Permalink
Merge pull request #29 from owenliang/gh-pages
Browse files Browse the repository at this point in the history
scroller back to top after refresh
  • Loading branch information
owenliang committed Apr 5, 2017
2 parents 9bc2b26 + f575389 commit 7feb997
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pullToRefresh.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ function (container, option) {
refreshEvent = null;
// 弹回顶部
goTowards(-55);
// 滚动条回顶部
iscroll.scrollTo(0, 0, 0);
}, 100);
});
}
Expand Down

0 comments on commit 7feb997

Please sign in to comment.