fix for #671 - kill global variable usage

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3086 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-04-17 22:00:47 +00:00
parent 7a3eabceeb
commit 8a14f917dc

View File

@@ -173,7 +173,7 @@ OpenLayers.Util.createDiv = function(id, px, sz, imgURL, position,
OpenLayers.Util.createImage = function(id, px, sz, imgURL, position, border,
opacity, delayDisplay) {
image = document.createElement("img");
var image = document.createElement("img");
//set generic properties
if (!id) {