[QSO][Panel] Pressing Spacebar in the Callsign field moves you to name.

Pressing spacebar within the callsign field now jumps you to the name field
pull/764/head
Peter Goodhall 2020-12-23 09:42:38 +00:00 zatwierdzone przez GitHub
commit 6b34b6fcc9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -548,6 +548,14 @@ $(document).on('change', 'input', function(){
});
});
//Spacebar moves to the name field when you're entering a callsign
//Similar to contesting ux, good for pileups.
$("#callsign").on("keypress", function(e) {
if (e.which == 32){
$("#name").focus();
return false; //Eliminate space char
}
});
// On Key up check and suggest callsigns
$("#callsign").keyup(function() {