Committing an updated fix for #1906. This fixes a 2.7->2.8 regression in
particular behavior with regard to determining the size of a popup. thanks to the absolutely tireless work of gregers on this issue! Also, in case anyone was wondering? Browsers suck. (Pullup #1906) git-svn-id: http://svn.openlayers.org/trunk/openlayers@9384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -506,7 +506,7 @@ OpenLayers.Popup = OpenLayers.Class({
|
||||
// contents into a fake contentDiv (for the CSS) and then measuring it
|
||||
var preparedHTML = "<div class='" + this.contentDisplayClass+ "'>" +
|
||||
this.contentDiv.innerHTML +
|
||||
"<div>";
|
||||
"</div>";
|
||||
|
||||
var containerElement = (this.map) ? this.map.layerContainerDiv
|
||||
: document.body;
|
||||
|
||||
Reference in New Issue
Block a user