From 55935d4ab47b2ea3e35ff63e528d77bbcfeda062 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Wed, 27 Nov 2024 16:21:48 +0100 Subject: [PATCH] fix quicklog feature --- assets/js/sections/qso.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/js/sections/qso.js b/assets/js/sections/qso.js index e6e873a10..1e6459e3c 100644 --- a/assets/js/sections/qso.js +++ b/assets/js/sections/qso.js @@ -1234,8 +1234,10 @@ $(document).ready(function () { set_timers(); updateStateDropdown('#dxcc_id', '#stateInputLabel', '#location_us_county', '#stationCntyInputQso'); - // Clear the localStorage for the qrg units + // Clear the localStorage for the qrg units, except the quicklogCallsign + let quicklogCallsign = localStorage.getItem('quicklogCallsign'); localStorage.clear(); + localStorage.setItem('quicklogCallsign', quicklogCallsign); set_qrg(); $("#locator").popover({ placement: 'top', title: 'Gridsquare Formatting', content: "Enter multiple (4-digit) grids separated with commas. For example: IO77,IO78" })