wrong referencing target
This commit is contained in:
parent
c72651143b
commit
c328231f76
@ -115,7 +115,7 @@
|
|||||||
m_style.marginTop = ( -0.5 * mHeight ) + "px";
|
m_style.marginTop = ( -0.5 * mHeight ) + "px";
|
||||||
|
|
||||||
m_style.opacity = 1;
|
m_style.opacity = 1;
|
||||||
if( mHeight < ( bBox.getBoundingClientRect().y - bBox.parentNode.getBoundingClientRect().y + bBoxHeight ) )
|
if( mHeight < ( bBox.getBoundingClientRect().y - bBox.previousSibling.getBoundingClientRect().y + bBoxHeight ) )
|
||||||
{
|
{
|
||||||
m_style.height = "100%";
|
m_style.height = "100%";
|
||||||
this.innerBox.style.maxHeight = ( innerHeight - bBoxHeight ) + "px"
|
this.innerBox.style.maxHeight = ( innerHeight - bBoxHeight ) + "px"
|
||||||
|
Loading…
Reference in New Issue
Block a user