diff --git a/chat.php b/chat.php index 8f412c5..e0ecf3a 100644 --- a/chat.php +++ b/chat.php @@ -284,7 +284,8 @@ function print_start($class='', $ref=0, $url=''){ echo "$H[meta_html]"; if(!empty($url)){ echo ""; - $ref*=1000; + $ref+=5;//only use js if browser refresh stopped working + $ref*=1000;//js uses milliseconds echo ""; } if($class==='init'){