projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2bef45
)
Roo/bootstrap/Menu.js
author
edward
<edward@roojs.com>
Fri, 21 Jul 2017 05:07:21 +0000
(13:07 +0800)
committer
edward
<edward@roojs.com>
Fri, 21 Jul 2017 05:07:21 +0000
(13:07 +0800)
Roo/bootstrap/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Menu.js
b/Roo/bootstrap/Menu.js
index
ea5c166
..
8fda57a
100644
(file)
--- a/
Roo/bootstrap/Menu.js
+++ b/
Roo/bootstrap/Menu.js
@@
-280,11
+280,6
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
xy[0] = xy[0] - this.el.getWidth() + this.triggerEl.getWidth();
}
-
- if(!isNaN(this.el.getStyle('top') * 1)){
- this.el.setXY(xy);
- }
-
/*
* This not working on ios
*/
@@
-292,6
+287,10
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
//
// }
+ if(!isNaN(this.el.getStyle('top') * 1)){
+ this.el.setXY(xy);
+ }
+
this.focus();
this.fireEvent("show", this);
},