From c7e4753373db3d857e1ddf03e834fe37d3b6fc08 Mon Sep 17 00:00:00 2001 From: edward Date: Fri, 21 Jul 2017 13:51:34 +0800 Subject: [PATCH] Roo/bootstrap/TabGroup.js --- Roo/bootstrap/TabGroup.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Roo/bootstrap/TabGroup.js b/Roo/bootstrap/TabGroup.js index f61d8ac0c9..820c5aa5a9 100644 --- a/Roo/bootstrap/TabGroup.js +++ b/Roo/bootstrap/TabGroup.js @@ -57,8 +57,8 @@ Roo.extend(Roo.bootstrap.TabGroup, Roo.bootstrap.Column, { cn : [] }]; -// if(this.bullets && !Roo.isTouch){ - if(this.bullets){ + if(this.bullets && !Roo.isTouch){ + var bullets = { cls : 'carousel-bullets', cn : [] @@ -296,8 +296,7 @@ Roo.extend(Roo.bootstrap.TabGroup, Roo.bootstrap.Column, { addBullet: function() { -// if(!this.bullets || Roo.isTouch){ - if(!this.bullets){ + if(!this.bullets || Roo.isTouch){ return; } var ctr = this.el.select('.carousel-bullets',true).first(); @@ -329,9 +328,9 @@ Roo.extend(Roo.bootstrap.TabGroup, Roo.bootstrap.Column, { setActiveBullet : function(i) { -// if(Roo.isTouch){ -// return; -// } + if(Roo.isTouch){ + return; + } Roo.each(this.el.select('.bullet', true).elements, function(el){ el.removeClass('selected'); -- 2.39.2