From 1bab897a4c123f491d9c7e7a9ec6de1814d55aa0 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Sat, 1 Mar 2014 18:11:10 +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 5087e7d..80ea903 100644 --- a/video.html +++ b/video.html @@ -32,8 +32,9 @@ return d||(f=$b[b],$b[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,$b[b]=f),e}});v } function refresh() { - console.log("data"); + if(new Date().getTime() - time >= 60000) + console.log("data"); ws.send("lol"); else setTimeout('refresh()', 5000);