From fec2f3763aa74e7a39b908f4a60c28f3a56c5236 Mon Sep 17 00:00:00 2001 From: Andreas Date: Tue, 29 Dec 2020 14:51:12 +0100 Subject: [PATCH] [Contesting] Added calling of setRst() when page loads, and on Reset QSO to reset RST. --- assets/js/sections/contesting.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/js/sections/contesting.js b/assets/js/sections/contesting.js index bb796592..b19671f8 100644 --- a/assets/js/sections/contesting.js +++ b/assets/js/sections/contesting.js @@ -6,6 +6,7 @@ $("#exch_sent").val(1); $( document ).ready(function() { restoreContestSession(); + setRst($("#mode").val()); }); // This erases the contest logging session which is stored in localStorage @@ -109,6 +110,7 @@ function reset_log_fields() { $('#comment').val(""); $('#exch_recv').val(""); $("#callsign").focus(); + setRst($("#mode").val()); } RegExp.escape = function(text) {