From 07f2015708e0f4f72f793d6f31094d4cdd920e21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Blot=20=28=40U-Exp=29?= Date: Fri, 26 Sep 2014 18:58:33 +0200 Subject: [PATCH] oops inverted lastMsgId = id --- js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index 6ccff34..b01e87f 100644 --- a/js/script.js +++ b/js/script.js @@ -80,7 +80,7 @@ function formatConversation(jsondata) { // Store the greater msg date for refresher if (id > lastMsgDate) { - id = lastMsgDate; + lastMsgDate = id; } // Multiplicate ID to permit date to use it properly