forked from antux18/ChasseTresorPange
Correction d'un bug qui empêchait le scan de se lancer.
This commit is contained in:
parent
357df6fbc2
commit
b62364f790
@ -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 =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user