forked from GitHub/gf-core
Omit redundant trailing "&" in jsonp url
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user