Wrap Zone

This commit is contained in:
Max Lynch
2015-10-30 10:13:29 -05:00
parent b0a8da9706
commit 7158bcd260

View File

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