projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d98cb2a
)
Roo/bootstrap/TabPanel.js
author
edward
<edward@roojs.com>
Tue, 17 Oct 2017 04:10:30 +0000
(12:10 +0800)
committer
edward
<edward@roojs.com>
Tue, 17 Oct 2017 04:10:30 +0000
(12:10 +0800)
Roo/bootstrap/TabPanel.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/TabPanel.js
b/Roo/bootstrap/TabPanel.js
index
a150b13
..
fb50c9e
100644
(file)
--- a/
Roo/bootstrap/TabPanel.js
+++ b/
Roo/bootstrap/TabPanel.js
@@
-144,6
+144,8
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
{
e.preventDefault();
+ this.swiping = false;
+
this.startX = e.browserEvent.touches[0].clientX;
this.startY = e.browserEvent.touches[0].clientY;
},
@@
-164,6
+166,7
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
if(!this.swiping){
this.onClick(e);
+ return;
}
var tabGroup = this.parent();