File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -192,9 +192,13 @@ import { AstroIcon } from "~/components";
192192 form.addEventListener("submit", async (e) => {
193193 e.preventDefault();
194194
195+ const formData = new FormData(e.target as HTMLFormElement);
196+ formData.set("page", window.location.pathname);
197+ formData.set("option", questions.split("-")[1]);
198+
195199 fetch("https://feedback.developers.cloudflare.com", {
196200 method: "POST",
197- body: new FormData(e.target as HTMLFormElement) ,
201+ body: formData ,
198202 });
199203
200204 questionsDiv.classList.add("hidden");
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const { tableOfContents } = Astro.props.entry.data;
4343<ImageZoom />
4444<div class =" sl-markdown-content" >
4545 <slot />
46- <div class =" block !mt-[1.5em] max-[72rem ]:hidden" >
46+ <div class =" !mt-[1.5em] block min-[1152px ]:hidden" >
4747 <FeedbackPrompt />
4848 </div >
4949</div >
You can’t perform that action at this time.
0 commit comments