From 9f425430ef0a9719cfeedfca5604700aa2eef64f Mon Sep 17 00:00:00 2001 From: euzuro Date: Wed, 19 Mar 2008 20:38:25 +0000 Subject: [PATCH] removing extraneous lines from getParameters() function (r=tschaub) (Closes #1450) git-svn-id: http://svn.openlayers.org/trunk/openlayers@6555 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Util.js | 3 --- 1 file changed, 3 deletions(-) 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 = "";