forked from antux18/ChasseTresorPange
Ajouts mineurs.
This commit is contained in:
parent
7f91b9424d
commit
051e08e624
@ -35,7 +35,6 @@ if (lg == "fr") {
|
|||||||
|
|
||||||
function scanAction(result) {
|
function scanAction(result) {
|
||||||
puzzleSolve(result.data, team_id, art_id);
|
puzzleSolve(result.data, team_id, art_id);
|
||||||
console.log(result.data); // TODO : retirer
|
|
||||||
scanner.stop();
|
scanner.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -58,9 +57,6 @@ const scanner = new QrScanner(
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
window.scanner = scanner; // Débogage
|
|
||||||
|
|
||||||
|
|
||||||
// Changement de caméra :
|
// Changement de caméra :
|
||||||
camList.addEventListener("change", event => {
|
camList.addEventListener("change", event => {
|
||||||
scanner.setCamera(event.target.value);
|
scanner.setCamera(event.target.value);
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
"home" => "Home"
|
"home" => "Home"
|
||||||
],
|
],
|
||||||
"footer" => [
|
"footer" => [
|
||||||
"text" => "Lycée Jean de Pange Sarreguemines"
|
"text" => "Lycée Jean de Pange Sarreguemines<br>Source code is available <a href='https://forge.chapril.org/antux18/ChasseTresorPange'>here</a>."
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
?>
|
?>
|
@ -31,7 +31,7 @@
|
|||||||
"home" => "Accueil"
|
"home" => "Accueil"
|
||||||
],
|
],
|
||||||
"footer" => [
|
"footer" => [
|
||||||
"text" => "Lycée Jean de Pange Sarreguemines"
|
"text" => "Lycée Jean de Pange Sarreguemines<br>Le code source est disponible <a href='https://forge.chapril.org/antux18/ChasseTresorPange'>ici</a>."
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user