salt pepper copying from URL to form
This commit is contained in:
parent
36aac6bb74
commit
d3a2835dbd
|
@ -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
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue