projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68e1d1f
)
Roo/bootstrap/Menu.js
author
john
<john@roojs.com>
Fri, 17 Aug 2018 05:07:59 +0000
(13:07 +0800)
committer
john
<john@roojs.com>
Fri, 17 Aug 2018 05:07:59 +0000
(13:07 +0800)
Roo/bootstrap/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Menu.js
b/Roo/bootstrap/Menu.js
index
5114df3
..
146d373
100644
(file)
--- a/
Roo/bootstrap/Menu.js
+++ b/
Roo/bootstrap/Menu.js
@@
-282,6
+282,7
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
// reassign x when hitting right
Roo.log(this.el.getWidth());
Roo.log(xy[0]);
+ Roo.log(Roo.lib.Dom.getViewWidth());
if(this.el.getWidth() + xy[0] >= Roo.lib.Dom.getViewWidth()){
xy[0] = xy[0] - this.el.getWidth() + this.triggerEl.getWidth();