From bf05a94f3e57a14cfa5e60790f3e00af008b30ba Mon Sep 17 00:00:00 2001 From: James Wilson Date: Wed, 15 Aug 2018 16:54:43 -0500 Subject: [PATCH] Show n/a for not known registration --- public_html/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/script.js b/public_html/script.js index 28c041a..78c36eb 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -910,7 +910,7 @@ function refreshSelected() { if (selected.registration !== null) { $('#selected_registration').text(selected.registration); } else { - $('#selected_registration').text(""); + $('#selected_registration').text("n/a"); } if (selected.icaotype !== null) { @@ -1178,7 +1178,7 @@ function refreshHighlighted() { if (highlighted.registration !== null) { $('#highlighted_registration').text(highlighted.registration); } else { - $('#highlighted_registration').text(""); + $('#highlighted_registration').text("n/a"); } $('#highlighted_speed').text(format_speed_long(highlighted.speed, DisplayUnits));