From a78ee9f86ce07eb86a1ae4435a7257fbcadc0f25 Mon Sep 17 00:00:00 2001 From: euzuro Date: Mon, 29 May 2006 19:28:27 +0000 Subject: [PATCH] use new offset() function git-svn-id: http://svn.openlayers.org/trunk/openlayers@459 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Popup/Anchored.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Popup/Anchored.js b/lib/OpenLayers/Popup/Anchored.js index 9202721be3..39c45e0384 100644 --- a/lib/OpenLayers/Popup/Anchored.js +++ b/lib/OpenLayers/Popup/Anchored.js @@ -110,7 +110,7 @@ OpenLayers.Popup.Anchored.prototype = var newPx = px.copyOf(); //adjust for offset - newPx.add(this.anchor.offset.x, this.anchor.offset.y); + newPx.offset(this.anchor.offset); var top = (this.relativePosition.charAt(0) == 't');