From b0a8da9706fc246836ac35d31d8fd8c05d6fa5a8 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Fri, 30 Oct 2015 10:08:20 -0500 Subject: [PATCH] Flipped Zone --- ionic/components/content/content.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ionic/components/content/content.ts b/ionic/components/content/content.ts index e2ec5ed714..e265016a47 100644 --- a/ionic/components/content/content.ts +++ b/ionic/components/content/content.ts @@ -61,13 +61,13 @@ export class Content extends Ion { super.onInit(); this.scrollElement = this.getNativeElement().children[0]; - setTimeout(() => { - this._zone.runOutsideAngular(() => { + this._zone.runOutsideAngular(() => { + setTimeout(() => { if(!this.featureDetect.has('sticky')) { this._sticky = StickyPoly(this.scrollElement); } }); - }) + }); } /**