From c304c1d760fafec75a9db4cd95b3bf8d9fc41f55 Mon Sep 17 00:00:00 2001 From: int2001 Date: Thu, 28 Dec 2023 08:04:42 +0000 Subject: [PATCH] Sharpened the keypress-handler, so it only reacts on searchfield and not - e.g. - on the NotesBox --- application/views/interface_assets/footer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 70ffb28a..5c163a5b 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -953,7 +953,7 @@ $(document).ready(function(){ }); -$(document).on('keypress',function(e) { +$($('#callsign')).on('keypress',function(e) { if(e.which == 13) { if ($('#callsign').val()) {