mirror of
https://github.com/bilde2910/Hauk.git
synced 2026-01-23 02:24:09 +00:00
hiding all metrics when client is dead
This commit is contained in:
parent
8fd96ba436
commit
24750a324b
2 changed files with 3 additions and 3 deletions
|
|
@ -711,11 +711,11 @@ function processUpdate(data, init) {
|
|||
'<div class="arrow still-' + shares[user].state + '" id="arrow-' + shares[user].id + '"></div>' +
|
||||
'<p class="' + shares[user].state + '" id="label-' + shares[user].id + '">' +
|
||||
'<span id="nickname-' + shares[user].id + '"></span>' +
|
||||
'<span class="velocity">' +
|
||||
'<span class="metric">' +
|
||||
'<span id="velocity-' + shares[user].id + '">0.0</span> ' +
|
||||
VELOCITY_UNIT.unit +
|
||||
' | </span>' +
|
||||
'<span class="altitude">' +
|
||||
'<span class="metric">' +
|
||||
'<span id="altitude-' + shares[user].id + '">0.0</span> ' +
|
||||
ALTITUDE_UNIT.unit +
|
||||
'</span>' +
|
||||
|
|
|
|||
|
|
@ -324,7 +324,7 @@ a:last-child > .store-icon {
|
|||
background-color: rgba(165,0,42,0.5);
|
||||
}
|
||||
|
||||
.marker p.dead > span.velocity {
|
||||
.marker p.dead > span.metric {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue