diff --git a/fbattle.php b/fbattle.php index c2f3827..cefd172 100644 --- a/fbattle.php +++ b/fbattle.php @@ -39,6 +39,7 @@ $fbattle = new fbattle($user['battle']); const timerID = setTimeout("refreshPeriodic()", 20000); } + timerID = setTimeout("refreshPeriodic()", 20000);