Remove 'inherit' cursor, which does not work as expeted in IE.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@560 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -678,7 +678,6 @@ OpenLayers.Util.createDiv = function(id, px, sz, imgURL, position,
|
||||
//set specific properties
|
||||
dom.style.padding = "0";
|
||||
dom.style.margin = "0";
|
||||
dom.style.cursor = "inherit";
|
||||
if (imgURL) {
|
||||
dom.style.backgroundImage = 'url(' + imgURL + ')';
|
||||
}
|
||||
@@ -713,7 +712,6 @@ OpenLayers.Util.createImage = function(id, px, sz, imgURL, position, border) {
|
||||
|
||||
//set special properties
|
||||
image.style.alt = id;
|
||||
image.style.cursor = "inherit";
|
||||
image.galleryImg = "no";
|
||||
if (imgURL) {
|
||||
image.src = imgURL;
|
||||
|
||||
Reference in New Issue
Block a user