Roo/bootstrap/TabGroup.js
authorEdward <edward@roojs.com>
Thu, 13 Aug 2015 05:08:31 +0000 (13:08 +0800)
committerEdward <edward@roojs.com>
Thu, 13 Aug 2015 05:08:31 +0000 (13:08 +0800)
Roo/bootstrap/TabGroup.js

index eabef05..b89e97c 100644 (file)
@@ -124,7 +124,9 @@ Roo.extend(Roo.bootstrap.TabGroup, Roo.bootstrap.Column,  {
             return false;
         }
         
-        if (this.carousel) {
+        Roo.get(document.body.dom.style.transition)
+        
+        if (this.carousel && typeof(Roo.get(document.body).dom.style.transition != 'undefined')) {
             this.transition = true;
             var dir = this.indexOfPanel(pan) > this.indexOfPanel(cur)  ? 'next' : 'prev';
             var lr = dir == 'next' ? 'left' : 'right';