1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-27 06:23:53 +01:00

removed autosaving on ps-underscores

This commit is contained in:
NoobishSVK
2024-07-31 18:25:35 +02:00
parent e9d389fef0
commit 2e719448b2
2 changed files with 4 additions and 5 deletions

View File

@@ -709,7 +709,7 @@ const updateDataElements = throttle(function(parsedData) {
$commandInput.attr("aria-label", "Current frequency: " + parsedData.freq);
updateHtmlIfChanged($dataPi, parsedData.pi === '?' ? "<span class='opacity-half'>?</span>" : parsedData.pi);
if (localStorage.getItem('psUnderscores') === 'true') {
if ($('#ps-underscores').is(':checked')) {
parsedData.ps = parsedData.ps.replace(/\s/g, '_');
}
updateHtmlIfChanged($dataPs, parsedData.ps === '?' ? "<span class='opacity-half'>?</span>" : processString(parsedData.ps, parsedData.ps_errors));