From 470db1d6328519ecbae32e7e429b0e96036809a9 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Mon, 18 Nov 2013 22:13:10 -0600 Subject: [PATCH] Textcontent tweak --- dist/js/ionic.js | 2 +- js/views/tabBarView.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/js/ionic.js b/dist/js/ionic.js index bbe584da0d..29730db161 100644 --- a/dist/js/ionic.js +++ b/dist/js/ionic.js @@ -4044,7 +4044,7 @@ ionic.views.TabBarItem = ionic.views.View.inherit({ } // Set the title to the text content of the tab. - this.title = this.el.innerText.trim(); + this.title = this.el.textContent.trim(); this._tapHandler = function(e) { _this.onTap && _this.onTap(e); diff --git a/js/views/tabBarView.js b/js/views/tabBarView.js index 8c8fa20807..24c489812c 100644 --- a/js/views/tabBarView.js +++ b/js/views/tabBarView.js @@ -40,7 +40,7 @@ ionic.views.TabBarItem = ionic.views.View.inherit({ } // Set the title to the text content of the tab. - this.title = this.el.innerText.trim(); + this.title = this.el.textContent.trim(); this._tapHandler = function(e) { _this.onTap && _this.onTap(e);