From 387ec40f23ef272e5af0bdb87abbbd97a8258387 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Fri, 16 Oct 2015 13:49:52 -0500 Subject: [PATCH] fix(): disable preloadTabs for now --- ionic/components/tabs/tab.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/ionic/components/tabs/tab.ts b/ionic/components/tabs/tab.ts index 0165be4dec..9c9e334fd2 100644 --- a/ionic/components/tabs/tab.ts +++ b/ionic/components/tabs/tab.ts @@ -94,19 +94,18 @@ export class Tab extends NavController { this.tabs.select(this); } else if (this.tabs.preloadTabs) { - setTimeout(() => { - this.load(() => { - console.debug('preloaded tab', this.getIndex()); - }); - }, 500 * this.getIndex()); + // setTimeout(() => { + // this.load(() => { + // console.debug('preloaded tab', this.getIndex()); + // }); + // }, 500 * this.getIndex()); } } load(callback) { if (!this._loaded && this.root) { let opts = { - animate: false, - navbar: false + animate: false }; this.push(this.root, null, opts).then(callback); this._loaded = true;