Skip to content

Commit

Permalink
Merge pull request #30 from owenliang/gh-pages
Browse files Browse the repository at this point in the history
back to top when force trigger pull
  • Loading branch information
owenliang committed Apr 6, 2017
2 parents 7feb997 + 4a471ba commit 9023196
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 @@ -318,6 +318,8 @@ function (container, option) {
if (refreshEvent || finalOption.noRefresh) {
return false;
}
// 滚动到顶部
iscroll.scrollTo(0, 0, 0);
// 暂停可能正在进行的最终阶段回弹动画
pullToRefresh.removeClass("backTranTop");
// 小图标移动到lowerbound位置
Expand Down

0 comments on commit 9023196

Please sign in to comment.