Allow toggling torch

This commit is contained in:
Michael Neuendorf 2020-03-24 20:00:44 +01:00
parent d17a573cbe
commit ae1094f243

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: [
{