mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 22:29:44 +08:00
Fixed tests and removed DOM call from TabBarController
This commit is contained in:
@ -148,6 +148,9 @@ TabBar.prototype = {
|
||||
}
|
||||
},
|
||||
|
||||
// Try to select a given item. This triggers an event such
|
||||
// that the view controller managing this tab bar can decide
|
||||
// whether to select the item or cancel it.
|
||||
trySelectItem: function(item) {
|
||||
for(var i = 0, j = this.items.length; i < j; i += 1) {
|
||||
if(this.items[i] == item) {
|
||||
|
||||
Reference in New Issue
Block a user