projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50125b7
)
Roo/bootstrap/Menu.js
author
edward
<edward@roojs.com>
Fri, 21 Jul 2017 05:15:49 +0000
(13:15 +0800)
committer
edward
<edward@roojs.com>
Fri, 21 Jul 2017 05:15:49 +0000
(13:15 +0800)
Roo/bootstrap/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Menu.js
b/Roo/bootstrap/Menu.js
index
3663fdc
..
5cd705e
100644
(file)
--- a/
Roo/bootstrap/Menu.js
+++ b/
Roo/bootstrap/Menu.js
@@
-282,14
+282,7
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
var test = '100px';
- /*
- * This not working on ios
- */
-// if(this.el.getStyle('top').slice(-1) != "%"){
-// this.el.setXY(xy);
-// }
-
- if(!isNaN(this.el.getStyle('top') * 1) && this.el.getStyle('top').slice(-2) != 'px'){
+ if(this.el.getStyle('top').slice(-1) != "%"){
this.el.setXY(xy);
}