projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a60ce5a
)
Roo/bootstrap/TabPanel.js
author
edward
<edward@roojs.com>
Tue, 17 Oct 2017 03:58:28 +0000
(11:58 +0800)
committer
edward
<edward@roojs.com>
Tue, 17 Oct 2017 03:58:28 +0000
(11:58 +0800)
Roo/bootstrap/TabPanel.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/TabPanel.js
b/Roo/bootstrap/TabPanel.js
index
ba9d358
..
326ffc7
100644
(file)
--- a/
Roo/bootstrap/TabPanel.js
+++ b/
Roo/bootstrap/TabPanel.js
@@
-161,10
+161,7
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
var tabGroup = this.parent();
- Roo.log(this.startX);
- Roo.log(this.startY);
-
- if(this.startX < this.endX){ // swiping right
+ if(this.endX - this.startX > 10 ){ // swiping right
tabGroup.showPanelPrev();
return;
}