make async ajax calls

This commit is contained in:
Sebastian Grewe 2013-09-14 18:00:43 +02:00
parent 4303ccc42f
commit 4df57f612e

View File

@ -24,9 +24,6 @@ $(document).ready(function(){
$.jqplot('hashrategraph', [storedData], options);
setInterval(function() {
$.ajax({
// have to use synchronous here, else the function
// will return before the data is fetched
async: false,
url: url,
dataType: "json",
success: function(data) {