delete debug code.
This commit is contained in:
parent
611c205d23
commit
d4cc42299c
|
@ -22,7 +22,6 @@ var unreadCountTimer = setInterval(function() {
|
||||||
mentionCount++;
|
mentionCount++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ipc.sendToHost('console', "sidebar(unread=" + unreadCount +", mention=" + mentionCount + ")");
|
|
||||||
|
|
||||||
// unreadCount for active channel
|
// unreadCount for active channel
|
||||||
var newSeparators = document.getElementsByClassName('new-separator');
|
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) {
|
if (this.unreadCount != unreadCount || this.mentionCount != mentionCount) {
|
||||||
ipc.sendToHost('onUnreadCountChange', unreadCount, mentionCount);
|
ipc.sendToHost('onUnreadCountChange', unreadCount, mentionCount);
|
||||||
|
|
Loading…
Reference in a new issue