projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8892be6
)
Roo/bootstrap/TabPanel.js
author
edward
<edward@roojs.com>
Tue, 17 Oct 2017 03:47:36 +0000
(11:47 +0800)
committer
edward
<edward@roojs.com>
Tue, 17 Oct 2017 03:47:36 +0000
(11:47 +0800)
Roo/bootstrap/TabPanel.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/TabPanel.js
b/Roo/bootstrap/TabPanel.js
index
e44000e
..
116f495
100644
(file)
--- a/
Roo/bootstrap/TabPanel.js
+++ b/
Roo/bootstrap/TabPanel.js
@@
-134,6
+134,9
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
window.location.href = this.href;
},
+ startX : 0,
+ startY : 0,
+
onTouchStart : function(e)
{
e.preventDefault();
@@
-142,7
+145,8
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
Roo.log(e);
- Roo.log(e.browserEvent.touches[0].clientX);
+ this.startX = e.browserEvent.touches[0].clientX;
+ this.startY = e.browserEvent.touches[0].clientY;
},
onTouchMove : function(e)