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:
4
dist/js/ionic.js
vendored
4
dist/js/ionic.js
vendored
@ -2376,7 +2376,9 @@ 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');
|
||||||
this._refresher.classList.remove('scroll-refreshing');
|
if(this._refresher) {
|
||||||
|
this._refresher.classList.remove('scroll-refreshing');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.x = scrollLeft;
|
this.x = scrollLeft;
|
||||||
|
|||||||
@ -482,7 +482,9 @@
|
|||||||
// 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');
|
||||||
this._refresher.classList.remove('scroll-refreshing');
|
if(this._refresher) {
|
||||||
|
this._refresher.classList.remove('scroll-refreshing');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.x = scrollLeft;
|
this.x = scrollLeft;
|
||||||
|
|||||||
Reference in New Issue
Block a user