Open Infrastructure Map, a view of infrastructure data in OpenStreetMap
Fix voltage rendering in info popup
Russ Garrett90596f30174d
diff --git a/web/src/infopopup.js b/web/src/infopopup.jsindex 79ebf08..97bc700 100644--- a/web/src/infopopup.js+++ b/web/src/infopopup.js@@ -79,7 +79,7 @@ class InfoPopup {}if (key.startsWith('voltage')) {- value = `${parseFloat(value).toFixed(0)} kV`;+ value = `${Number(parseFloat(value).toFixed(2))} kV`;}if (key == 'output') {