projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de708c
)
Roo/bootstrap/Menu.js
author
john
<john@roojs.com>
Fri, 10 Aug 2018 04:49:27 +0000
(12:49 +0800)
committer
john
<john@roojs.com>
Fri, 10 Aug 2018 04:49:27 +0000
(12:49 +0800)
Roo/bootstrap/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Menu.js
b/Roo/bootstrap/Menu.js
index
6443615
..
86ee73f
100644
(file)
--- a/
Roo/bootstrap/Menu.js
+++ b/
Roo/bootstrap/Menu.js
@@
-283,7
+283,7
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
xy[0] = xy[0] - this.el.getWidth() + this.triggerEl.getWidth();
}
- if(this.el.get
Width() + xy[0] >= Roo.lib.Dom.getViewWidth
()){
+ if(this.el.get
Height() + xy[1] >= Roo.lib.Dom.getViewHeight
()){
xy[0] = xy[0] - this.el.getWidth() + this.triggerEl.getWidth();
}