From c9513913686da3d781ce25e86a18bff799f2eeea Mon Sep 17 00:00:00 2001 From: crschmidt Date: Mon, 20 Nov 2006 17:51:11 +0000 Subject: [PATCH] Patch from penyaskito: setSize function got updated in AnchoredBubble, but never updated in Popup.js. Fix for #422 . git-svn-id: http://svn.openlayers.org/trunk/openlayers@1940 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Popup.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/OpenLayers/Popup.js b/lib/OpenLayers/Popup.js index 0f7e810656..8c0b8eb114 100644 --- a/lib/OpenLayers/Popup.js +++ b/lib/OpenLayers/Popup.js @@ -207,6 +207,10 @@ OpenLayers.Popup.prototype = { this.div.style.width = this.size.w + "px"; this.div.style.height = this.size.h + "px"; } + if (this.contentDiv != null){ + this.contentDiv.style.width = this.size.w + "px"; + this.contentDiv.style.height = this.size.h + "px"; + } }, /**