diff --git a/lib/OpenLayers.js b/lib/OpenLayers.js index 5cbefbb5ed..b792ede9ec 100644 --- a/lib/OpenLayers.js +++ b/lib/OpenLayers.js @@ -43,7 +43,7 @@ * {String} Path to this script */ _getScriptLocation: function () { - if(scriptLocation) { + if (scriptLocation != undefined) { return scriptLocation; } scriptLocation = "";