Skip to content

Commit

Permalink
Update src/auto-check-element.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Keith Cirkel <[email protected]>
  • Loading branch information
srt32 and keithamus authored May 24, 2024
1 parent 9482b6b commit 8aec52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auto-check-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ async function check(autoCheckElement: AutoCheckElement) {
body.append(csrfField, csrf)
body.append('value', input.value)
} else {
url = new URL(src);
url = new URL(src, window.location.origin);

Check failure on line 270 in src/auto-check-element.ts

View workflow job for this annotation

GitHub Actions / build

Delete `;`
url.search = new URLSearchParams({ value: input.value }).toString();

Check failure on line 271 in src/auto-check-element.ts

View workflow job for this annotation

GitHub Actions / build

Replace `·value:·input.value·}).toString();` with `value:·input.value}).toString()`
}

Expand Down

0 comments on commit 8aec52f

Please sign in to comment.