From a80110add2c36aa24edcb49fdcd101130dab97de Mon Sep 17 00:00:00 2001 From: Schuyler Erle Date: Mon, 26 Jun 2006 22:55:04 +0000 Subject: [PATCH] Fixed check for image location in single-file version. git-svn-id: http://svn.openlayers.org/branches/openlayers/1.0@775 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/OpenLayers.js b/lib/OpenLayers.js index b56d55edda..57afe8530d 100644 --- a/lib/OpenLayers.js +++ b/lib/OpenLayers.js @@ -6,7 +6,11 @@ /// OpenLayers = new Object(); -OpenLayers._scriptName = "lib/OpenLayers.js"; + +OpenLayers._scriptName = ( + typeof(_OPENLAYERS_SFL_) == "undefined" ? "lib/OpenLayers.js" + : "OpenLayers.js" ); + OpenLayers._getScriptLocation = function () { var scriptLocation = ""; var SCRIPT_NAME = OpenLayers._scriptName;