Skip to content

Commit

Permalink
fix(ie/edge): form.method='delete', raises Invalid argument. (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfo authored Jun 19, 2022
1 parent f307b8d commit 700c921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class Session

if (linkMethod) {
const form = document.createElement("form")
form.method = linkMethod
form.setAttribute("method", linkMethod)
form.action = link.getAttribute("href") || "undefined"
form.hidden = true

Expand Down

0 comments on commit 700c921

Please sign in to comment.