Fixed refresher missing bug

This commit is contained in:
Max Lynch
2013-11-07 19:47:05 -06:00
parent 32d0f48e21
commit 1f9d60223a
2 changed files with 6 additions and 2 deletions

2
dist/js/ionic.js vendored
View File

@ -2376,8 +2376,10 @@ window.ionic = {
// Grab the refresher element if using Pull to Refresh
if(this.hasPullToRefresh) {
this._refresher = document.querySelector('.scroll-refresher');
if(this._refresher) {
this._refresher.classList.remove('scroll-refreshing');
}
}
this.x = scrollLeft;
this.y = scrollTop;

View File

@ -482,8 +482,10 @@
// Grab the refresher element if using Pull to Refresh
if(this.hasPullToRefresh) {
this._refresher = document.querySelector('.scroll-refresher');
if(this._refresher) {
this._refresher.classList.remove('scroll-refreshing');
}
}
this.x = scrollLeft;
this.y = scrollTop;