Omit redundant trailing "&" in jsonp url

This commit is contained in:
hallgren
2010-04-15 13:48:28 +00:00
parent 0b1a2bb20b
commit 603536a2f2

View File

@@ -16,8 +16,8 @@ function jsonp(url,callback)
url += "&jsonp="
else
url += "?jsonp="
url += callback + "&";
//url += new Date().getTime().toString(); // prevent caching
url += callback;
//url += "&" + new Date().getTime().toString(); // prevent caching
var script = empty("script");
script.setAttribute("src",url);