Skip to content

Commit

Permalink
Merge pull request #10 from privacybydesign/fix/IRMA-to-Yivi
Browse files Browse the repository at this point in the history
fix wrong attr in main
  • Loading branch information
w-ensink authored Nov 22, 2024
2 parents 244c03f + 7db3874 commit f712ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
console.log("Session successful!");
console.log("Result:", data);
// Continue to order page if user is 18+
let attr = daawvalue.toLowerCase();
let attr = data.disclosed[0][0].rawvalue.toLowerCase();
if (attr === 'yes' || attr === 'ja') {
setTimeout(() => {
$('#phase-agecheck').hide();
Expand Down

0 comments on commit f712ca3

Please sign in to comment.