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
This commit is contained in:
Schuyler Erle
2006-06-26 22:55:04 +00:00
parent 4934b386df
commit a80110add2

View File

@@ -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;