projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa3933b
)
Roo/bootstrap/Menu.js
author
john
<john@roojs.com>
Fri, 10 Aug 2018 05:02:53 +0000
(13:02 +0800)
committer
john
<john@roojs.com>
Fri, 10 Aug 2018 05:02:53 +0000
(13:02 +0800)
Roo/bootstrap/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Menu.js
b/Roo/bootstrap/Menu.js
index
3211682
..
d64572d
100644
(file)
--- a/
Roo/bootstrap/Menu.js
+++ b/
Roo/bootstrap/Menu.js
@@
-289,6
+289,8
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
xy[1] = xy[1] - this.el.getHeight() - this.triggerEl.getHeight();
}
+ // but the list may align on trigger left or trigger top... should it be a properity?
+
if(this.el.getStyle('top') != 'auto' && this.el.getStyle('top').slice(-1) != "%"){
this.el.setXY(xy);
}