]> git.aero2k.de Git - dfde/quickmods.git/commitdiff
Remove misplaced comment about getAttribute() usage
authorJTH <JTH@debianforum.de>
Mon, 26 Sep 2022 15:31:34 +0000 (17:31 +0200)
committerThorsten <mail@aero2k.de>
Mon, 3 Oct 2022 21:24:23 +0000 (23:24 +0200)
quickmod.user.js

index 5eb4defbc6cf3171a371cb195ee375b83f7e012f..16891e2b09261971d418ffe68e3c9ca521de6a36 100644 (file)
@@ -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}`;