Allow toggling torch

This commit is contained in:
Michael Neuendorf 2020-03-24 20:00:44 +01:00 committed by Michael Neuendorf
parent 56f31fd34e
commit 0f2f6a7194

View File

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