projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
527c46b
)
Roo/bootstrap/TabPanel.js
author
edward
<edward@roojs.com>
Tue, 17 Oct 2017 03:48:00 +0000
(11:48 +0800)
committer
edward
<edward@roojs.com>
Tue, 17 Oct 2017 03:48:00 +0000
(11:48 +0800)
Roo/bootstrap/TabPanel.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/TabPanel.js
b/Roo/bootstrap/TabPanel.js
index
116f495
..
3af7897
100644
(file)
--- a/
Roo/bootstrap/TabPanel.js
+++ b/
Roo/bootstrap/TabPanel.js
@@
-136,6
+136,8
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
startX : 0,
startY : 0,
+ endX : 0,
+ endY : 0,
onTouchStart : function(e)
{
@@
-153,11
+155,8
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
{
e.preventDefault();
- Roo.log('on touch move');
-
- Roo.log(e);
-
- Roo.log(e.browserEvent.touches[0].clientX);
+ this.endX = e.browserEvent.touches[0].clientX;
+ this.endY = e.browserEvent.touches[0].clientY;
},