Commit d6ad029d by Kálmán Viktor

dashboard: fix activity ajax calls

parent 0003f774
...@@ -205,7 +205,7 @@ function checkNewActivity(only_state, runs) { ...@@ -205,7 +205,7 @@ function checkNewActivity(only_state, runs) {
if(decideActivityRefresh()) { if(decideActivityRefresh()) {
console.log("szia"); console.log("szia");
setTimeout( setTimeout(
function() {checkNewActivity(true, runs + 1)}, function() {checkNewActivity(only_state, runs + 1)},
1000 + runs * 250 1000 + runs * 250
); );
} }
...@@ -215,5 +215,3 @@ function checkNewActivity(only_state, runs) { ...@@ -215,5 +215,3 @@ function checkNewActivity(only_state, runs) {
} }
}); });
} }
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 sign in to comment