diff --git a/js/common.js b/js/common.js index ea80921..34ba6d7 100644 --- a/js/common.js +++ b/js/common.js @@ -33,7 +33,7 @@ function $ajax(url) { } function $ajaxget(url, data) { - data["authorization"] = "6f167d28205b143c880382cd8408ea93" + if (data) data["authorization"] = "6f167d28205b143c880382cd8408ea93" url = url.indexOf("https://") > -1 ? url : projectBaseURL + url url += objectToQueryString(data)