mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
[Contesting] Enter logs QSO when sent exchange field is active.
This commit is contained in:
parent
2fb0ff53db
commit
d80e5914ed
@ -44,8 +44,12 @@ document.onkeyup = function(e) {
|
||||
// ALT-W wipe
|
||||
if (e.altKey && e.which == 87) {
|
||||
reset_log_fields();
|
||||
// CTRL-Enter logs QSO
|
||||
} else if ((e.keyCode == 10 || e.keyCode == 13) && (e.ctrlKey || e.metaKey)) {
|
||||
logQso();
|
||||
// Enter in sent exchange logs QSO
|
||||
} else if((e.which == 13) && ($(document.activeElement).attr("id") == "exch_recv")) {
|
||||
logQso();
|
||||
} else if (e.which == 27) {
|
||||
reset_log_fields();
|
||||
// Space to jump to either callsign or sent exchange
|
||||
|
Loading…
Reference in New Issue
Block a user