Fixing ascent/descent characters Google Chrome turned into emojis.
This commit is contained in:
parent
2438bc1d45
commit
cdc591de2c
|
|
@ -773,8 +773,8 @@ AircraftMarker.prototype.getInfoHTML = function(name, receiverMarker = null) {
|
|||
// Combine altitude and vertical speed
|
||||
if (this.altitude) {
|
||||
var alt = this.altitude.toFixed(0) + ' ft';
|
||||
if (this.vspeed > 0) alt += ' ↗' + this.vspeed + ' ft/m';
|
||||
else if (this.vspeed < 0) alt += ' ↘' + (-this.vspeed) + ' ft/m';
|
||||
if (this.vspeed > 0) alt += ' ↑' + this.vspeed + ' ft/m';
|
||||
else if (this.vspeed < 0) alt += ' ↓' + (-this.vspeed) + ' ft/m';
|
||||
detailsString += Utils.makeListItem('Altitude', alt);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue