mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Fixed refresher missing bug
This commit is contained in:
2
dist/js/ionic.js
vendored
2
dist/js/ionic.js
vendored
@ -2376,8 +2376,10 @@ window.ionic = {
|
|||||||
// Grab the refresher element if using Pull to Refresh
|
// Grab the refresher element if using Pull to Refresh
|
||||||
if(this.hasPullToRefresh) {
|
if(this.hasPullToRefresh) {
|
||||||
this._refresher = document.querySelector('.scroll-refresher');
|
this._refresher = document.querySelector('.scroll-refresher');
|
||||||
|
if(this._refresher) {
|
||||||
this._refresher.classList.remove('scroll-refreshing');
|
this._refresher.classList.remove('scroll-refreshing');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.x = scrollLeft;
|
this.x = scrollLeft;
|
||||||
this.y = scrollTop;
|
this.y = scrollTop;
|
||||||
|
|||||||
@ -482,8 +482,10 @@
|
|||||||
// Grab the refresher element if using Pull to Refresh
|
// Grab the refresher element if using Pull to Refresh
|
||||||
if(this.hasPullToRefresh) {
|
if(this.hasPullToRefresh) {
|
||||||
this._refresher = document.querySelector('.scroll-refresher');
|
this._refresher = document.querySelector('.scroll-refresher');
|
||||||
|
if(this._refresher) {
|
||||||
this._refresher.classList.remove('scroll-refreshing');
|
this._refresher.classList.remove('scroll-refreshing');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.x = scrollLeft;
|
this.x = scrollLeft;
|
||||||
this.y = scrollTop;
|
this.y = scrollTop;
|
||||||
|
|||||||
Reference in New Issue
Block a user