mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-24 19:21:14 +00:00
sanitize some input data
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user