Merge pull request #2 from InsanusMokrassar/patch-1

Update radio.js
master
Alex 5 years ago committed by GitHub
commit 2c8ac3901c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 19
      js/radio.js

@ -7,15 +7,6 @@ function show()
$('#title').html(html); $('#title').html(html);
} }
}); });
}
$(document).ready(function(){
show();
setInterval('show()',5000);
});
function show1()
{
$.ajax({ $.ajax({
url: '../online.php', url: '../online.php',
cache: false, cache: false,
@ -25,7 +16,9 @@ function show1()
}); });
} }
$(document).ready(function(){ $(document).ready(
show1(); () => {
setInterval('show1()',5000); show();
}); setInterval(show, 5000);
}
);

Loading…
Cancel
Save