mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user