projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e158960
)
Roo/bootstrap/Element.js
author
Edward
<edward@roojs.com>
Wed, 29 Aug 2018 09:11:57 +0000
(17:11 +0800)
committer
Edward
<edward@roojs.com>
Wed, 29 Aug 2018 09:11:57 +0000
(17:11 +0800)
Roo/bootstrap/Element.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Element.js
b/Roo/bootstrap/Element.js
index
bed0e4a
..
4ac1494
100644
(file)
--- a/
Roo/bootstrap/Element.js
+++ b/
Roo/bootstrap/Element.js
@@
-59,7
+59,11
@@
Roo.extend(Roo.bootstrap.Element, Roo.bootstrap.Component, {
Roo.bootstrap.Element.superclass.initEvents.call(this);
if(this.clickable){
- this.el.on('click', this.onClick, this);
+ if(!Roo.isTouch){
+ this.el.on('click', this.onClick, this);
+ } else {
+ this.el.on('touchstart', this.onClick, this);
+ }
}
},