From: JTH Date: Mon, 26 Sep 2022 15:31:34 +0000 (+0200) Subject: Remove misplaced comment about getAttribute() usage X-Git-Url: https://git.aero2k.de/?p=dfde%2Fquickmods.git;a=commitdiff_plain;h=2d4da70bc29f9c044734c90e1f65b9431e6ad18d Remove misplaced comment about getAttribute() usage --- 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}`;