Fix error with formdata that doesn't exist

This commit is contained in:
Andreas Kristiansen
2025-02-24 09:54:47 +01:00
parent 3b21f15f73
commit 14956d828b

View File

@@ -15,6 +15,7 @@ $(document).ready(async function () {
// Storing the contestid in contest session
$('#contestname, #copyexchangeto, #exchangesequence_select, #band, #mode, #frequency, #radio').change(function () {
var formdata = new FormData(document.getElementById("qso_input"));
setSession(formdata);
});