From b5eeeb7dc20c407d3fc8d905b1e4184395ae66c3 Mon Sep 17 00:00:00 2001 From: mluto Date: Wed, 30 Jan 2013 12:16:32 +0100 Subject: [PATCH] Don't show notifications when loading the chat-messages. --- src/static/js/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/chat.js b/src/static/js/chat.js index 205294a85..30c38e214 100644 --- a/src/static/js/chat.js +++ b/src/static/js/chat.js @@ -122,7 +122,7 @@ var chat = (function() $("#chattext").append(html); //should we increment the counter?? - if(increment) + if(increment && !isHistoryAdd) { var count = Number($("#chatcounter").text()); count++;