Skip to content

Commit afbf8a0

Browse files
committed
fix: use currentMediation correctly
1 parent dc6c8f0 commit afbf8a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ async function setAttachment() {
298298
let newAttachment = $('select[name="attachment"]').value || "";
299299
currentAttachment = newAttachment;
300300

301-
if (newAttachment === "conditional") {
301+
if (currentMediation === "conditional") {
302302
abortController.abort();
303303
abortController = new AbortController();
304304
void enableWebAuthnAutocomplete();

0 commit comments

Comments
 (0)