projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcc804f
)
Roo/bootstrap/Menu.js
author
edward
<edward@roojs.com>
Fri, 21 Jul 2017 04:50:52 +0000
(12:50 +0800)
committer
edward
<edward@roojs.com>
Fri, 21 Jul 2017 04:50:52 +0000
(12:50 +0800)
Roo/bootstrap/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Menu.js
b/Roo/bootstrap/Menu.js
index
21be9cf
..
d3873a0
100644
(file)
--- a/
Roo/bootstrap/Menu.js
+++ b/
Roo/bootstrap/Menu.js
@@
-279,7
+279,7
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
if(this.el.getWidth() + xy[0] > Roo.lib.Dom.getViewWidth()){
xy[0] = xy[0] - this.el.getWidth() + this.triggerEl.getWidth();
}
-
+ alert(this.el.getStyle('top'));
if(this.el.getStyle('top').slice(-1) != "%"){
this.el.setXY(xy);
}