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:
@@ -173,7 +173,7 @@ OpenLayers.Util.createDiv = function(id, px, sz, imgURL, position,
|
|||||||
OpenLayers.Util.createImage = function(id, px, sz, imgURL, position, border,
|
OpenLayers.Util.createImage = function(id, px, sz, imgURL, position, border,
|
||||||
opacity, delayDisplay) {
|
opacity, delayDisplay) {
|
||||||
|
|
||||||
image = document.createElement("img");
|
var image = document.createElement("img");
|
||||||
|
|
||||||
//set generic properties
|
//set generic properties
|
||||||
if (!id) {
|
if (!id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user