diff --git a/lib/OpenLayers/Popup.js b/lib/OpenLayers/Popup.js index 4c3c62a7e5..dd6b50423a 100644 --- a/lib/OpenLayers/Popup.js +++ b/lib/OpenLayers/Popup.js @@ -164,9 +164,9 @@ OpenLayers.Popup.prototype = { } if (this.div != null) { - this.div.style.width = this.size.w; - this.div.style.height = this.size.h; - } + this.div.style.width = this.size.w; + this.div.style.height = this.size.h; + } }, /** @@ -178,8 +178,8 @@ OpenLayers.Popup.prototype = { } if (this.div != null) { - this.div.style.backgroundColor = this.backgroundColor; - } + this.div.style.backgroundColor = this.backgroundColor; + } }, /**