mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
Fixed tests and removed DOM call from TabBarController
This commit is contained in:
@ -59,11 +59,11 @@ TabBarController.prototype = {
|
||||
|
||||
for(var i = 0, j = this.controllers.length; i < j; i ++) {
|
||||
c = this.controllers[i];
|
||||
c.el.style.display = 'none';
|
||||
c.detach && c.detach();
|
||||
}
|
||||
|
||||
c = this.controllers[index];
|
||||
c.el.style.display = 'block';
|
||||
c.attach && c.attach();
|
||||
},
|
||||
|
||||
_clearSelected: function() {
|
||||
|
||||
Reference in New Issue
Block a user