Skip to content
Snippets Groups Projects
Verified Commit d9042e5f authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Do not raise alert on scan error

parent 413b8e3d
No related branches found
No related tags found
1 merge request!30Resolve "Checkpoint system"
...@@ -19,7 +19,7 @@ function onScanSuccess(decodedText, decodedResult) { ...@@ -19,7 +19,7 @@ function onScanSuccess(decodedText, decodedResult) {
} }
function onScanError(error) { function onScanError(error) {
alert(`Code scan error: ${error}`); console.warn(`Code scan error: ${error}`);
} }
$(document).ready(function($) { $(document).ready(function($) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment