fix for #776 - use new getBrowserName() function

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3422 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-06-22 16:56:45 +00:00
parent 73ce86bd62
commit 68292b1118

View File

@@ -70,7 +70,7 @@ OpenLayers.Layer.EventPane.prototype =
this.pane.style.display = this.div.style.display;
this.pane.style.width="100%";
this.pane.style.height="100%";
if (/MSIE/.test(navigator.userAgent)) {
if (OpenLayers.Util.getBrowserName() == "msie") {
this.pane.style.background = "url("+OpenLayers.Util.getImagesLocation()+"blank.gif)";
}