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:
@@ -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)";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user