Allow toggling torch

This commit is contained in:
Michael Neuendorf 2020-03-24 20:00:44 +01:00 committed by Michael Neuendorf
parent 1dcee60358
commit 4e459956bf

View File

@ -181,7 +181,7 @@ $(document).on("click", "#barcodescanner-start-button", function(e)
callback: function()
{
Grocy.Components.BarcodeScanner.TorchState = !Grocy.Components.BarcodeScanner.TorchState;
Quagga.CameraAccess.getActiveTrack().applyConstraints({
advanced: [
{