[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
This commit is contained in:
Peter Goodhall
2020-12-23 09:42:38 +00:00
committed by GitHub

View File

@@ -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() {