sanitize some input data

This commit is contained in:
HB9HIL
2024-06-29 15:06:10 +02:00
parent 1d970cc9a3
commit 9205dc249c

View File

@@ -63,6 +63,14 @@ $( document ).ready(function() {
}
});
// Sanitize some input data
$('#callsign').on('input', function() {
$(this).val($(this).val().replace(/\s/g, ''));
});
$('#locator').on('input', function() {
$(this).val($(this).val().replace(/\s/g, ''));
});
$('.callsign-suggest').hide();
setRst($(".mode").val());