Merge pull request #720 from stepie22/unread-counters-fix

Fix unread counters resetting when they shouldn't
This commit is contained in:
Maxime Poulin 2016-10-25 12:41:10 -04:00 committed by GitHub
commit 0bef9e9cde

View File

@ -186,7 +186,7 @@ $(function() {
socket.on("open", function(id) {
// Another client opened the channel, clear the unread counter
sidebar.find("[data-id='" + id + "'] .badge")
sidebar.find(".chan[data-id='" + id + "'] .badge")
.removeClass("highlight")
.empty();
});