[Contesting] Fix serial not saved when using space

pull/2057/head^2
Andreas 2023-04-05 14:52:05 +02:00
rodzic a12af00e52
commit 5497de3334
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -87,6 +87,15 @@ $(function () {
});
});
// We don't want spaces to be written in serial
$(function () {
$('#exch_serial_r').on('keypress', function (e) {
if (e.which == 32) {
return false;
}
});
});
// Here we capture keystrokes to execute functions
document.onkeyup = function (e) {
// ALT-W wipe