salt pepper copying from URL to form

This commit is contained in:
fred 2023-09-02 03:56:41 +02:00
parent 36aac6bb74
commit d3a2835dbd
1 changed files with 2 additions and 2 deletions

View File

@ -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
}
});