mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-31 00:09:16 +02:00
oh shit
This commit is contained in:
+2
-2
@@ -86,10 +86,10 @@ function connectWs() {
|
|||||||
|
|
||||||
function syncTime() {
|
function syncTime() {
|
||||||
wsSend({ action: "get_time", client_time: performance.now() / 1000 });
|
wsSend({ action: "get_time", client_time: performance.now() / 1000 });
|
||||||
setInterval(syncTime, 10000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setInterval(syncTime, 500);
|
setInterval(syncTime, 10000);
|
||||||
|
setTimeout(syncTime, 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
function wsSend(obj) {
|
function wsSend(obj) {
|
||||||
|
|||||||
Reference in New Issue
Block a user