projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
212b261
)
Roo/Element.js
author
edward
<edward@roojs.com>
Wed, 29 Nov 2017 09:19:46 +0000
(17:19 +0800)
committer
edward
<edward@roojs.com>
Wed, 29 Nov 2017 09:19:46 +0000
(17:19 +0800)
Roo/Element.js
patch
|
blob
|
history
diff --git
a/Roo/Element.js
b/Roo/Element.js
index
07b982a
..
acd7fb9
100644
(file)
--- a/
Roo/Element.js
+++ b/
Roo/Element.js
@@
-204,7
+204,10
@@
if(opt.anim.isAnimated()){
continue;
}
- if (overflowRegex.test(parent.getStyle('overflow') + parent.getStyle('overflow-x') + parent.getStyle('overflow-y'))){
+ if (
+ parent.dom.nodeName.toLowerCase() != 'body' ||
+ overflowRegex.test(parent.getStyle('overflow') + parent.getStyle('overflow-x') + parent.getStyle('overflow-y'))
+ ){
return parent;
}
}