aboutsummaryrefslogtreecommitdiff
path: root/src/docs-google-com-fix-forms
diff options
context:
space:
mode:
authorJacob K <jacobk@disroot.org>2022-08-14 19:19:05 -0500
committerJacob K <jacobk@disroot.org>2022-08-15 00:05:42 -0500
commit618dbc2a6d5eaadf51a3b13d518ce6275526f9d1 (patch)
treef2d13003ab38fd2c4d7b25802911bdbc906bcc78 /src/docs-google-com-fix-forms
parent9d2797cc014557670d997676176904b25bbeebf2 (diff)
downloadhydrilla-fixes-bundle-618dbc2a6d5eaadf51a3b13d518ce6275526f9d1.tar.gz
hydrilla-fixes-bundle-618dbc2a6d5eaadf51a3b13d518ce6275526f9d1.zip
[Google Forms] Add copyright line and a minor text fix.
Diffstat (limited to 'src/docs-google-com-fix-forms')
-rw-r--r--src/docs-google-com-fix-forms/google_forms.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/docs-google-com-fix-forms/google_forms.js b/src/docs-google-com-fix-forms/google_forms.js
index 22e783c..e9b7dfd 100644
--- a/src/docs-google-com-fix-forms/google_forms.js
+++ b/src/docs-google-com-fix-forms/google_forms.js
@@ -5,6 +5,7 @@
*
* Copyright © 2021 jahoti <jahoti@tilde.team>
* Copyright 2022 Wojtek Kosior <koszko@koszko.org>
+ * Copytight 2022 Jacob K
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,7 +46,7 @@ for (let div of form.querySelectorAll('div[data-params]')) {
new_radio.value = input_div.getAttribute("data-value");
input_div.replaceWith(new_radio);
}
- /* handle checkboxes */
+ /* Handle checkboxes. */
for (const input_div of div.querySelectorAll('[data-answer-value]')) {
const new_checkbox = document.createElement('input');
new_checkbox.type = 'checkbox';
@@ -89,3 +90,4 @@ for (const next_but of document.querySelectorAll('[jsname=OCpkoe]'))
// TODO:
// * support "back" with instatiation of previous entries
// * find and fix form parts that still don't work (if any)
+