diff --git a/require/js/qrscan.js b/require/js/qrscan.js index 9d28e63..8c3f11c 100644 --- a/require/js/qrscan.js +++ b/require/js/qrscan.js @@ -63,7 +63,7 @@ camList.addEventListener("change", event => { }); // Démarrage du scan : -document.querySelector("button").addEventListener("click", () => { +document.querySelector("p + button").addEventListener("click", () => { scanner.start().then(() => { QrScanner.listCameras(true).then(cameras => cameras.forEach(camera => {