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