on page 89-90 in the function checkComments...
Code:
if (aData[0] != iLastCommentId) {
iLastCommentId = aData[0];
if (iLastCommentId != -1) {
showNotification(aData[1], aData[2]);
}
}
Shouldn't
Code:
iLastCommentId = aData[0];
come after
Code:
if (iLastCommentId != -1) {
showNotification(aData[1], aData[2]);
}
otherwise if there is already a comment when you get to the page, it will display, even if it was posted a year ago. If you make the change I'm suggesting, you would only see comments that were posted since you loaded the page. right?