From 700c921838d7e22b18c19200cfa6cc39cb4ad09d Mon Sep 17 00:00:00 2001 From: mfo Date: Sun, 19 Jun 2022 12:12:37 +0200 Subject: [PATCH] fix(ie/edge): form.method='delete', raises Invalid argument. (#586) --- src/core/session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/session.ts b/src/core/session.ts index 770112393..49ecaabf0 100644 --- a/src/core/session.ts +++ b/src/core/session.ts @@ -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