OpenLayers.js changes didn't suit Safari very well.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1645 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-10-06 15:29:47 +00:00
parent c6d40eb2d3
commit f97ffae403

View File

@@ -50,7 +50,6 @@ if (typeof(_OPENLAYERS_SFL_) == "undefined") {
var jsfiles=new Array(
"OpenLayers/BaseTypes.js",
"OpenLayers/Util.js",
"OpenLayers/Prototype.js",
"Rico/Corner.js",
"Rico/Color.js",
"OpenLayers/Ajax.js",
@@ -103,7 +102,7 @@ if (typeof(_OPENLAYERS_SFL_) == "undefined") {
var host = OpenLayers._getScriptLocation() + "lib/";
for (var i = 0; i < jsfiles.length; i++) {
if (/MSIE/.test(navigator.userAgent)) {
if (/MSIE/.test(navigator.userAgent) || /Safari/.test(navigator.userAgent)) {
var currentScriptTag = "<script src='" + host + jsfiles[i] + "'></script>";
allScriptTags += currentScriptTag;
} else {