projects
/
web.Reddit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f7e878
)
Roo/bootstrap/menu/Menu.js
author
Edward
<edward@roojs.com>
Fri, 5 Dec 2014 09:20:08 +0000
(17:20 +0800)
committer
Edward
<edward@roojs.com>
Fri, 5 Dec 2014 09:20:08 +0000
(17:20 +0800)
Roo/bootstrap/menu/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/menu/Menu.js
b/Roo/bootstrap/menu/Menu.js
index
e2bc34a
..
b18cc6e
100644
(file)
--- a/
Roo/bootstrap/menu/Menu.js
+++ b/
Roo/bootstrap/menu/Menu.js
@@
-194,6
+194,8
@@
Roo.extend(Roo.bootstrap.menu.Menu, Roo.bootstrap.Component, {
this.hidden = false;
this.el.addClass('open');
+ this.list().setLeft('-100');
+
Roo.get(document).on("mouseup", this.onMouseUp, this);
this.fireEvent("show", this);
@@
-208,8
+210,6
@@
Roo.extend(Roo.bootstrap.menu.Menu, Roo.bootstrap.Component, {
this.hidden = true;
this.el.removeClass('open');
- this.list().setLeft('-100px');
-
Roo.get(document).un("mouseup", this.onMouseUp);
this.fireEvent("hide", this);