Ticket #776: getBrowserName.patch
| File getBrowserName.patch, 0.6 kB (added by euzuro, 1 year ago) |
|---|
-
lib/OpenLayers/Layer/EventPane.js
old new 70 70 this.pane.style.display = this.div.style.display; 71 71 this.pane.style.width="100%"; 72 72 this.pane.style.height="100%"; 73 if ( /MSIE/.test(navigator.userAgent)) {73 if (OpenLayers.Util.getBrowserName() == "msie") { 74 74 this.pane.style.background = "url("+OpenLayers.Util.getImagesLocation()+"blank.gif)"; 75 75 } 76 76
