From 43f4ca956ca0dc04ea1d431fdadbcd461f861499 Mon Sep 17 00:00:00 2001 From: Florian Chevallier Date: Wed, 25 Jun 2014 14:16:39 +0200 Subject: [PATCH] re-add 'hidden="true"' attribute to hide tabs (thansk @sebmartel) --- release/js/ionic.bundle.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/release/js/ionic.bundle.js b/release/js/ionic.bundle.js index 7da7e09f4bf..1bfdd5f8742 100644 --- a/release/js/ionic.bundle.js +++ b/release/js/ionic.bundle.js @@ -43531,6 +43531,7 @@ function($rootScope, $animate, $ionicBind, $compile) { //We create the tabNavTemplate in the compile phase so that the //attributes we pass down won't be interpolated yet - we want //to pass down the 'raw' versions of the attributes + if (attr.hidden !== 'true') { var tabNavTemplate = ''; + } //Remove the contents of the element so we can compile them later, if tab is selected //We don't use regular transclusion because it breaks element inheritance