Roo/bootstrap/TabPanel.js
authoredward <edward@roojs.com>
Tue, 17 Oct 2017 03:42:22 +0000 (11:42 +0800)
committeredward <edward@roojs.com>
Tue, 17 Oct 2017 03:42:22 +0000 (11:42 +0800)
Roo/bootstrap/TabPanel.js

index 8dca663..daf7d38 100644 (file)
@@ -100,9 +100,9 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component,  {
         }
         
         if(Roo.isTouch && this.swiping){
-            this.el.on("touchstart", this.onTouchStart, this);
-            this.el.on("touchmove", this.onTouchMove, this);
-            this.el.on("touchend", this.onTouchEnd, this);
+            p.el.on("touchstart", this.onTouchStart, this);
+            p.el.on("touchmove", this.onTouchMove, this);
+            p.el.on("touchend", this.onTouchEnd, this);
         }
         
     },