kopia lustrzana https://github.com/magicbug/Cloudlog
Merge pull request #398 from dg9vh/esc_key_in_qso
Added ESC-Key for resetting all QSO-Fields (quick-delete at qso-entry)pull/408/head
commit
807c9ebea8
|
@ -358,6 +358,13 @@ $(document).on('keypress',function(e) {
|
|||
reset_fields();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).keyup(function(e) {
|
||||
if (e.key === "Escape") { // escape key maps to keycode `27`
|
||||
reset_fields();
|
||||
$('#callsign').val("");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue