Roo/bootstrap/TabPanel.js
authorAlan Knowles <alan@roojs.com>
Mon, 28 Dec 2020 05:51:39 +0000 (13:51 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 28 Dec 2020 05:51:39 +0000 (13:51 +0800)
Roo/bootstrap/TabPanel.js

index c92294b..83e5b58 100644 (file)
@@ -98,7 +98,7 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component,  {
         
         this.el.on('click', this.onClick, this);
         
-        if(Roo.isTouch){
+        if(Roo.isTouch && this.touchSlide){
             this.el.on("touchstart", this.onTouchStart, this);
             this.el.on("touchmove", this.onTouchMove, this);
             this.el.on("touchend", this.onTouchEnd, this);