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