projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52304a2
)
Roo/bootstrap/Menu.js
author
edward
<edward@roojs.com>
Fri, 29 Dec 2017 06:08:19 +0000
(14:08 +0800)
committer
edward
<edward@roojs.com>
Fri, 29 Dec 2017 06:08:19 +0000
(14:08 +0800)
Roo/bootstrap/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Menu.js
b/Roo/bootstrap/Menu.js
index
7ceecb6
..
eff3faf
100644
(file)
--- a/
Roo/bootstrap/Menu.js
+++ b/
Roo/bootstrap/Menu.js
@@
-144,10
+144,13
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
this.triggerEl.addClass('dropdown-toggle');
-// if (Roo.isTouch) {
-// this.el.on('touchstart' , this.onTouch, this);
-// }
-
+ if (Roo.isTouch) {
+ this.el.on('touchstart' , this.onTouch, this);
+ }
+
+ Roo.log(this.triggerEl);
+ Roo.log(this.el);
+
this.el.on('click' , this.onClick, this);
this.el.on("mouseover", this.onMouseOver, this);