prettier formatage

This commit is contained in:
yoannchb-pro
2024-02-28 19:07:19 -05:00
parent 8c364e286b
commit 6a5e1eb8c3
40 changed files with 1666 additions and 1295 deletions
+5 -7
View File
@@ -1,21 +1,19 @@
/* Reset real moodle inputs to try in real env */
for (const option of document.querySelectorAll("option")) {
for (const option of document.querySelectorAll('option')) {
option.selected = false;
option.disabled = false;
option.closest("select").disabled = false;
option.closest('select').disabled = false;
}
for (const input of document.querySelectorAll(
'input[type="radio"], input[type="checkbox"]'
)) {
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")) {
for (const icon of document.querySelectorAll('.text-danger, .text-success')) {
icon.remove();
}
for (const feedback of document.querySelectorAll(".specificfeedback")) {
for (const feedback of document.querySelectorAll('.specificfeedback')) {
feedback.remove();
}