From 6eacc561f9fbade7ed95d7a86da750000781b460 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Sun, 1 Feb 2026 01:29:29 +0100 Subject: [PATCH] Don't store the operator callsign in local storage for the operator modal. too much risk to accidentially hit okay and work with the wrong operator --- assets/js/sections/operator.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/assets/js/sections/operator.js b/assets/js/sections/operator.js index 55e2af7b5..fa569dbe1 100644 --- a/assets/js/sections/operator.js +++ b/assets/js/sections/operator.js @@ -4,12 +4,6 @@ $(document).ready(function () { saveOperator(); } }); - - setTimeout(function () { - if (localStorage.getItem('operator_callsign')) { - $('#operator_callsign').val(localStorage.getItem('operator_callsign')); - } - }, 200); }); function displayOperatorDialog() { @@ -56,6 +50,4 @@ function saveOperator() { } else { operatorInput.addClass("is-invalid"); } - - localStorage.setItem('operator_callsign', operatorCallsign); }