Skip to content

Commit af4e0a1

Browse files
srt32keithamus
andauthored
Update src/auto-check-element.ts
Co-authored-by: Keith Cirkel <[email protected]>
1 parent 443a63a commit af4e0a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auto-check-element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ async function check(autoCheckElement: AutoCheckElement) {
263263
}
264264

265265
const body = new FormData()
266-
if (isHttpPost) {
266+
if (this.httpMethod) {
267267
body.append(csrfField, csrf)
268268
body.append('value', input.value)
269269
} else {

0 commit comments

Comments
 (0)