Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jvde-github committed Jan 25, 2025
1 parent 6af47c6 commit 87f18bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Application/WebViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ void WebViewer::Request(TCP::ServerConnection &c, const std::string &response, b
}
else
{
std::cerr << "File not found" << std::endl;
Error() << "File not found: " << filename << std::endl;
HTTPServer::Request(c, r, false);
}
}
Expand Down
4 changes: 2 additions & 2 deletions HTML/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -4731,8 +4731,8 @@ function populatePlanecard() {
document.getElementById("shipcard_plane_vertrate").textContent = plane.vertrate ? `${plane.vertrate} ft/min` : "-";
document.getElementById("shipcard_plane_last_signal").textContent = getDeltaTimeVal(plane.last_signal);;
document.getElementById("shipcard_plane_messages").textContent = plane.nMessages || "-";
document.getElementById("shipcard_plane_shipcard_plane_downlink").textContent = getStringfromMsgType(plane.message_types);
document.getElementById("shipcard_plane_shipcard_plane_TC").textContent = getStringfromMsgType(plane.message_types >> 32);
document.getElementById("shipcard_plane_downlink").textContent = getStringfromMsgType(plane.message_types);
document.getElementById("shipcard_plane_TC").textContent = getStringfromMsgType(plane.message_types >> 32);
document.getElementById("shipcard_plane_distance").innerHTML = plane.distance ? (getDistanceVal(plane.distance) + " " + getDistanceUnit()) : null;

[
Expand Down

0 comments on commit 87f18bd

Please sign in to comment.