projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74c9056
)
Roo/bootstrap/Menu.js
author
edward
<edward@roojs.com>
Fri, 24 Feb 2017 06:36:43 +0000
(14:36 +0800)
committer
edward
<edward@roojs.com>
Fri, 24 Feb 2017 06:36:43 +0000
(14:36 +0800)
Roo/bootstrap/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Menu.js
b/Roo/bootstrap/Menu.js
index
ec40794
..
bd1f309
100644
(file)
--- a/
Roo/bootstrap/Menu.js
+++ b/
Roo/bootstrap/Menu.js
@@
-267,7
+267,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();
}
-
+ Roo.log(this.el.getStyle('top'));
if(this.el.getStyle('top').slice(-1) == "%"){
this.el.setXY(xy);
}