diff --git a/public/home/home.js b/public/home/home.js index 90ce830f7..6bd269b2a 100755 --- a/public/home/home.js +++ b/public/home/home.js @@ -101,15 +101,10 @@ document.onreadystatechange = function () { var data =JSON.parse(e.data) var html = ""; if (data != null){ - console.log("data= " + e.data); - console.log("msg length= " + messageQueue.length); if(messageQueue.length > maxSize){ messageQueue.splice(0,1); - //delete messageQueue[0]; - console.log("msg length= " + messageQueue.length); } messageQueue.push(data); - console.log("msg length= " + messageQueue.length); var currentTime = new Date().getTime(); for(var i = 0; i < messageQueue.length; i++){ var record = messageQueue[i];