Update radio.js

This commit is contained in:
InsanusMokrassar
2020-03-30 17:15:54 +06:00
committed by GitHub
parent 56e60dc115
commit 23334e6ffe

View File

@@ -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);
}
);