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
|
//set specific properties
|
||||||
dom.style.padding = "0";
|
dom.style.padding = "0";
|
||||||
dom.style.margin = "0";
|
dom.style.margin = "0";
|
||||||
dom.style.cursor = "inherit";
|
|
||||||
if (imgURL) {
|
if (imgURL) {
|
||||||
dom.style.backgroundImage = 'url(' + imgURL + ')';
|
dom.style.backgroundImage = 'url(' + imgURL + ')';
|
||||||
}
|
}
|
||||||
@@ -713,7 +712,6 @@ OpenLayers.Util.createImage = function(id, px, sz, imgURL, position, border) {
|
|||||||
|
|
||||||
//set special properties
|
//set special properties
|
||||||
image.style.alt = id;
|
image.style.alt = id;
|
||||||
image.style.cursor = "inherit";
|
|
||||||
image.galleryImg = "no";
|
image.galleryImg = "no";
|
||||||
if (imgURL) {
|
if (imgURL) {
|
||||||
image.src = imgURL;
|
image.src = imgURL;
|
||||||
|
|||||||
Reference in New Issue
Block a user