projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c7ebb
)
Roo/bootstrap/Menu.js
author
john
<john@roojs.com>
Fri, 10 Aug 2018 04:26:00 +0000
(12:26 +0800)
committer
john
<john@roojs.com>
Fri, 10 Aug 2018 04:26:00 +0000
(12:26 +0800)
Roo/bootstrap/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Menu.js
b/Roo/bootstrap/Menu.js
index
da128e5
..
e8f9632
100644
(file)
--- a/
Roo/bootstrap/Menu.js
+++ b/
Roo/bootstrap/Menu.js
@@
-286,6
+286,8
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
xy[0] = xy[0] - this.el.getWidth() + this.triggerEl.getWidth();
}
+ xy[0] = xy[0] - 5;
+
if(this.el.getStyle('top') != 'auto' && this.el.getStyle('top').slice(-1) != "%"){
this.el.setXY(xy);
}