Skip to content

Commit

Permalink
scroller back to top after refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
梁栋 committed Apr 5, 2017
1 parent 0fa2aee commit f575389
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 f575389

Please sign in to comment.