diff --git a/lib/OpenLayers/Util.js b/lib/OpenLayers/Util.js index 1391dfbd16..b38e45e700 100644 --- a/lib/OpenLayers/Util.js +++ b/lib/OpenLayers/Util.js @@ -818,9 +818,6 @@ OpenLayers.Util.distVincenty=function(p1, p2) { OpenLayers.Util.getParameters = function(url) { // if no url specified, take it from the location bar url = url || window.location.href; - if (url == null) { - url = window.location.href; - } //parse out parameters portion of url string var paramsString = "";