From d3a2835dbd17dcc650c147b4cacf40af8389d459 Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 2 Sep 2023 03:56:41 +0200 Subject: [PATCH] salt pepper copying from URL to form --- templates/register.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/register.html b/templates/register.html index 704208c8..42a887db 100644 --- a/templates/register.html +++ b/templates/register.html @@ -117,8 +117,8 @@ document.addEventListener('DOMContentLoaded', function() { const uplanetElement = document.querySelector('input[name="uplanet"]'); if (latElement && lonElement) { - latElement.value = lat || '0.00'; // Default to '0.00' if lat is missing - lonElement.value = lon || '0.00'; // Default to '0.00' if lon is missing + latElement.value = salt || '0.00'; // Default to '0.00' if lat is missing + lonElement.value = pepper || '0.00'; // Default to '0.00' if lon is missing uplanetElement.value = uplanet || '@'; // Default to '0.00' if lon is missing } });