Remove IE-specific line from example.html, and instead use the galleryImg IE specific attribute in Util.createImage. This should fix Ticket #34, but I don't have an IE to test on. galleryImg was discovered from multiple sources via google searches.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@120 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -574,6 +574,7 @@ OpenLayers.Util.createImage = function(img, sz, xy, position, id, border) {
|
||||
}
|
||||
image.style.cursor = "inherit";
|
||||
image.src = img;
|
||||
image.galleryImg = "no";
|
||||
return image;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user