This commit is contained in:
yoannchb-pro
2023-06-19 22:08:27 -04:00
parent 88088c0acf
commit 47b239ae54
23 changed files with 432 additions and 432 deletions
+21
View File
@@ -0,0 +1,21 @@
/* Reset real moodle inputs to try in real env */
for (const option of document.querySelectorAll("option")) {
option.selected = false;
option.disabled = false;
option.closest("select").disabled = false;
}
for (const input of document.querySelectorAll(
'input[type="radio"], input[type="checkbox"]'
)) {
input.checked = false;
input.disabled = false;
}
for (const icon of document.querySelectorAll(".text-danger, .text-success")) {
icon.remove();
}
for (const feedback of document.querySelectorAll(".specificfeedback")) {
feedback.remove();
}