diff --git a/src/base/layer/layer.popup.js b/src/base/layer/layer.popup.js index 6dc4b0abb..78ae47633 100644 --- a/src/base/layer/layer.popup.js +++ b/src/base/layer/layer.popup.js @@ -199,7 +199,7 @@ BI.PopupView = BI.inherit(BI.Widget, { }; placeholderStyle = { width: size.width, - left: 0, + left: "", right: 0, height: this._const.TRIANGLE_LENGTH, top: -this._const.TRIANGLE_LENGTH, @@ -228,11 +228,11 @@ BI.PopupView = BI.inherit(BI.Widget, { }; placeholderStyle = { width: size.width, - left: 0, + left: "", right: 0, height: this._const.TRIANGLE_LENGTH, - top: -this._const.TRIANGLE_LENGTH, - bottom: "" + top: "", + bottom: -this._const.TRIANGLE_LENGTH }; break; case "left": @@ -257,7 +257,7 @@ BI.PopupView = BI.inherit(BI.Widget, { }; placeholderStyle = { height: size.height, - top: 0, + top: "", bottom: 0, width: this._const.TRIANGLE_LENGTH, right: -this._const.TRIANGLE_LENGTH, @@ -286,7 +286,7 @@ BI.PopupView = BI.inherit(BI.Widget, { }; placeholderStyle = { height: size.height, - top: 0, + top: "", bottom: 0, width: this._const.TRIANGLE_LENGTH, left: -this._const.TRIANGLE_LENGTH,