Fixed TabController infinite Loop

This commit is contained in:
Max Lynch
2013-09-13 18:04:05 -05:00
parent 5e00917297
commit 6c32a638ad
3 changed files with 15 additions and 4 deletions

View File

@ -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);
};
},