always show player counter left border
This commit is contained in:
parent
a479d2882e
commit
4758a8caba
|
@ -65,8 +65,8 @@ moreJs: Html = Html(""))(body: Html)(implicit ctx: Context)
|
|||
}
|
||||
}
|
||||
}
|
||||
<div id="nb_connected_players" class="nb_connected_players none">
|
||||
@trans.nbConnectedPlayers("<strong>0</strong>")
|
||||
<div id="nb_connected_players" class="nb_connected_players">
|
||||
@trans.nbConnectedPlayers("<strong>?</strong>")
|
||||
</div>
|
||||
<a id="reconnecting" onclick="location.reload();">@trans.reconnecting()</a>
|
||||
<div class="themepicker">
|
||||
|
|
|
@ -239,7 +239,7 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
|
|||
n: function(e) {
|
||||
var $tag = $('#nb_connected_players');
|
||||
if ($tag.length && e) {
|
||||
$tag.html($tag.html().replace(/\d+/, e)).removeClass('none');
|
||||
$tag.find('strong').text(e);
|
||||
}
|
||||
},
|
||||
nbm: function(e) {
|
||||
|
|
Loading…
Reference in a new issue