delete debug code.

This commit is contained in:
Tatsuya Niwa 2016-01-19 11:20:06 +09:00
parent 611c205d23
commit d4cc42299c

View file

@ -22,7 +22,6 @@ var unreadCountTimer = setInterval(function() {
mentionCount++;
}
}
ipc.sendToHost('console', "sidebar(unread=" + unreadCount +", mention=" + mentionCount + ")");
// unreadCount for active channel
var newSeparators = document.getElementsByClassName('new-separator');
@ -43,7 +42,6 @@ var unreadCountTimer = setInterval(function() {
}
}
}
ipc.sendToHost('console', "sidebar + active(unread=" + unreadCount +", mention=" + mentionCount + ")");
if (this.unreadCount != unreadCount || this.mentionCount != mentionCount) {
ipc.sendToHost('onUnreadCountChange', unreadCount, mentionCount);