From 2d4da70bc29f9c044734c90e1f65b9431e6ad18d Mon Sep 17 00:00:00 2001 From: JTH Date: Mon, 26 Sep 2022 17:31:34 +0200 Subject: [PATCH] Remove misplaced comment about getAttribute() usage --- quickmod.user.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/quickmod.user.js b/quickmod.user.js index 5eb4def..16891e2 100644 --- a/quickmod.user.js +++ b/quickmod.user.js @@ -63,9 +63,6 @@ async function closeReport(post) { async function confirmAction(response) { const [form, formData] = await openForm(response, "form#confirm"); - /* Have to use explicit getAttribute() below since there is an input with - * name="action" which would be accessed with `form.action` :-/ - */ const resp = await postForm(form, formData, "confirm"); if (!resp.ok) { throw `${resp.url}: ${resp.status}`; -- 2.39.2