From 962c8a9f10f2f2554e530333d8cbe3724a409fa0 Mon Sep 17 00:00:00 2001 From: hmt Date: Wed, 26 Feb 2020 08:25:23 +0100 Subject: [PATCH] =?UTF-8?q?fix=20f=C3=BCr=20Scanner=20esc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Scanner.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Scanner.svelte b/src/components/Scanner.svelte index 75c0f8b..e3ddf4b 100644 --- a/src/components/Scanner.svelte +++ b/src/components/Scanner.svelte @@ -21,10 +21,10 @@ medium_selected; function handle_keydown(event) { - if (barcode_manuell) return if (event.key === 'Escape') { barcode_manuell = !barcode_manuell } + if (barcode_manuell) return if (registrieren) { (event.key === 'Escape') && (registrieren = false) return