simplify

parent f159f2b4
...@@ -143,9 +143,7 @@ function sendQuery(url) { ...@@ -143,9 +143,7 @@ function sendQuery(url) {
handleError('Timeout performing query, please try again later.'); handleError('Timeout performing query, please try again later.');
}; };
xhr.onload = function() { xhr.onload = function() { handleResponse(xhr); };
handleResponse(xhr);
};
xhr.send(); xhr.send();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment