diff --git a/web/app/controllers/user_msg.php b/web/app/controllers/user_msg.php index fe28e1d..0e22183 100644 --- a/web/app/controllers/user_msg.php +++ b/web/app/controllers/user_msg.php @@ -371,6 +371,7 @@ if (isset($_POST['user_msg'])) { var slideTime = 300; var page = 1; var changeAble = refreshHistory(conversationName, page); + clearInterval(intervalId); intervalId = setInterval(function() { changeAble = refreshHistory(conversationName, page); }, REFRESH_INTERVAL);