Sharpened the keypress-handler, so it only reacts on searchfield and not - e.g. - on the NotesBox

This commit is contained in:
int2001
2023-12-28 08:04:42 +00:00
parent ca24bfd5f3
commit c304c1d760

View File

@@ -953,7 +953,7 @@ $(document).ready(function(){
});
<?php } ?>
$(document).on('keypress',function(e) {
$($('#callsign')).on('keypress',function(e) {
if(e.which == 13) {
if ($('#callsign').val()) {