Browse Source

change it to start at 5 seconds so if nothing is happening it doesn't start spamming

pull/21/head
KodeStar 7 years ago
parent
commit
912c6512fb
  1. 2
      public/js/app.js
  2. 2
      resources/assets/js/app.js

2
public/js/app.js

@ -22,7 +22,7 @@ $.when( $.ready ).then(function() {
var id = $(this).data('id');
var container = $(this);
var max_timer = 30000;
var timer = 1000;
var timer = 5000;
(function worker() {
$.ajax({
url: '/get_stats/'+id,

2
resources/assets/js/app.js

@ -13,7 +13,7 @@ $.when( $.ready ).then(function() {
var id = $(this).data('id');
var container = $(this);
var max_timer = 30000;
var timer = 1000;
var timer = 5000;
(function worker() {
$.ajax({
url: '/get_stats/'+id,

Loading…
Cancel
Save