|
|
|
@ -311,7 +311,7 @@
|
|
|
|
|
this.popupView.element[0].style.left = parseInt(pBounds.left) + "px"; |
|
|
|
|
}else if (parseInt(cBounds.top) >= parseInt(pBounds.top) && parseInt(cBounds.left) < parseInt(pBounds.left)) { |
|
|
|
|
this.popupView.element[0].style.top = parseInt(pBounds.bottom) + "px"; |
|
|
|
|
this.popupView.element[0].style.left = parseInt(Math.min(pBounds.left, body.clientWidth - cBounds.width)) - transformX + "px"; |
|
|
|
|
this.popupView.element[0].style.left = parseInt(Math.min(pBounds.left, body.clientWidth - cBounds.width)) + "px"; |
|
|
|
|
} else { |
|
|
|
|
this.popupView.element[0].style.top = parseInt(pBounds.bottom) + "px"; |
|
|
|
|
this.popupView.element[0].style.left = parseInt(cBounds.left) * scale + "px"; |
|
|
|
|