Roo/bootstrap/TabGroup.js
authoredward <edward@roojs.com>
Tue, 1 Dec 2015 05:11:04 +0000 (13:11 +0800)
committeredward <edward@roojs.com>
Tue, 1 Dec 2015 05:11:04 +0000 (13:11 +0800)
Roo/bootstrap/TabGroup.js

index 83f91b8..36b46a3 100644 (file)
@@ -86,8 +86,6 @@ Roo.extend(Roo.bootstrap.TabGroup, Roo.bootstrap.Column,  {
     {
         Roo.log('-------- init events on tab group ---------');
         
-        var _this = this;
-        
         if(this.bullets > 0 && !Roo.isTouch){
             this.initBullet();
         }
@@ -283,6 +281,8 @@ Roo.extend(Roo.bootstrap.TabGroup, Roo.bootstrap.Column,  {
             return;
         }
         
+        var _this = this;
+        
         Roo.each(this.el.select('.bullet', true).elements, function(el){
             el.removeClass('selected');
         });