From 1ee672988432148b723ea79f48ad811c65fd1486 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Sat, 1 Mar 2014 18:12:16 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20vide?= =?UTF-8?q?o.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- video.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/video.html b/video.html index 80ea903..8edf43d 100644 --- a/video.html +++ b/video.html @@ -33,9 +33,10 @@ return d||(f=$b[b],$b[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,$b[b]=f),e}});v function refresh() { - if(new Date().getTime() - time >= 60000) + if(new Date().getTime() - time >= 60000){ console.log("data"); ws.send("lol"); + } else setTimeout('refresh()', 5000); }