mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 15:49:25 +01:00
Optimized camera barcode scanner component
This commit is contained in:
parent
96059a1b32
commit
e7cea3d949
|
|
@ -199,6 +199,7 @@ Quagga.onDetected(function(result)
|
|||
{
|
||||
Grocy.Components.CameraBarcodeScanner.StopScanning();
|
||||
$(document).trigger("Grocy.BarcodeScanned", [result.codeResult.code, Grocy.Components.CameraBarcodeScanner.CurrentTarget]);
|
||||
$(".modal").last().modal("hide");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user