mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 15:53:11 -05:00
Fix topbar when a battle is active
This commit is contained in:
@@ -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 = '<ul><li><a class="button minilogo' + notificationClass + '" href="' + app.root + '"><img src="//play.pokemonshowdown.com/favicon-128.png" width="32" height="32" alt="PS!" /><i class="icon-caret-down" style="display:inline-block"></i></a></li></ul>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user