Fixing ascent/descent characters Google Chrome turned into emojis.

This commit is contained in:
Marat Fayzullin 2024-12-10 15:12:16 -05:00
parent 2438bc1d45
commit cdc591de2c
1 changed files with 2 additions and 2 deletions

View File

@ -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 += ' &LowerRightArrow;' + (-this.vspeed) + ' ft/m';
if (this.vspeed > 0) alt += ' &uarr;' + this.vspeed + ' ft/m';
else if (this.vspeed < 0) alt += ' &darr;' + (-this.vspeed) + ' ft/m';
detailsString += Utils.makeListItem('Altitude', alt);
}