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

index 764012b..16b5da5 100644 (file)
@@ -139,7 +139,7 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component,  {
         
         Roo.log('on touch start');
         
-        Roo.log(e.touches[0].clientX);
+        Roo.log(e.originalEvent.touches[0].clientX);
     },
     
     onTouchEnd : function(e)
@@ -148,7 +148,7 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component,  {
         
         Roo.log('on touch end');
         
-        Roo.log(e.touches[0].clientX);
+        Roo.log(e.originalEvent.touches[0].clientX);
     }