From 228f8e61d82d318490ea68e06ac0cd5303dd03ec Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Fri, 17 Jul 2015 14:42:40 -0400 Subject: [PATCH] Fix topbar when a battle is active --- js/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/client.js b/js/client.js index dd437b18d..9dff9a4ea 100644 --- a/js/client.js +++ b/js/client.js @@ -1800,7 +1800,7 @@ this.$('.maintabbar').addClass('minitabbar'); var notificationClass = ''; for (var i in app.rooms) { - if (app.rooms[i].notificationClass === ' notifying') notificationClass = ' notifying'; + if (app.rooms[i] !== app.curRoom && app.rooms[i].notificationClass === ' notifying') notificationClass = ' notifying'; } var buf = '';