projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a73b92
)
Roo/bootstrap/TabPanel.js
author
edward
<edward@roojs.com>
Tue, 17 Oct 2017 03:59:05 +0000
(11:59 +0800)
committer
edward
<edward@roojs.com>
Tue, 17 Oct 2017 03:59:05 +0000
(11:59 +0800)
Roo/bootstrap/TabPanel.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/TabPanel.js
b/Roo/bootstrap/TabPanel.js
index
326ffc7
..
fa2e162
100644
(file)
--- a/
Roo/bootstrap/TabPanel.js
+++ b/
Roo/bootstrap/TabPanel.js
@@
-166,11
+166,15
@@
Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component, {
return;
}
- if(this.startX
> this.endX
){ // swiping left
+ if(this.startX
- this.endX > 10
){ // swiping left
tabGroup.showPanelNext();
return;
}
+ if(this.href.length){
+ this.onClick(e);
+ }
+
}