Ver Fonte

barcode reset

hmt há 4 anos atrás
pai
commit
b0fb246886
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/components/Scanner.svelte

+ 1 - 0
src/components/Scanner.svelte

@@ -22,6 +22,7 @@
 
   function handle_keydown(event) {
     if (event.key === 'Escape') {
+      barcode = ''
       barcode_manuell = !barcode_manuell
     }
     if (barcode_manuell) return