mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
Fixed TabController infinite Loop
This commit is contained in:
@ -19,7 +19,7 @@ TabBarController.prototype = {
|
||||
_bindEvents: function() {
|
||||
var _this = this;
|
||||
|
||||
this.tabBar.onTabSelected = function(item, index) {
|
||||
this.tabBar.tryTabSelect = function(index) {
|
||||
_this.setSelectedController(index);
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user