Flipped Zone

This commit is contained in:
Max Lynch
2015-10-30 10:08:20 -05:00
parent cbe99fb8e6
commit b0a8da9706

View File

@ -61,13 +61,13 @@ export class Content extends Ion {
super.onInit(); super.onInit();
this.scrollElement = this.getNativeElement().children[0]; this.scrollElement = this.getNativeElement().children[0];
setTimeout(() => {
this._zone.runOutsideAngular(() => { this._zone.runOutsideAngular(() => {
setTimeout(() => {
if(!this.featureDetect.has('sticky')) { if(!this.featureDetect.has('sticky')) {
this._sticky = StickyPoly(this.scrollElement); this._sticky = StickyPoly(this.scrollElement);
} }
}); });
}) });
} }
/** /**