We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d40cc commit f05bc69Copy full SHA for f05bc69
inc/form.class.php
@@ -1953,13 +1953,13 @@ public function showForCentral() {
1953
echo '</table>';
1954
echo '<br />';
1955
echo Html::scriptBlock('function showDescription(id, img){
1956
- if(i.alt == "+") {
1957
- i.alt = "-";
1958
- i.class = "class="fas fa-minus-circle"";
+ if(img.alt == "+") {
+ img.alt = "-";
+ img.class = "class=\"fas fa-minus-circle\"";
1959
document.getElementById("desc" + id).style.display = "table-row";
1960
} else {
1961
- i.alt = "+";
1962
- i.src = "class="fas fa-plus-circle"";
+ img.alt = "+";
+ img.src = "class=\"fas fa-plus-circle\"";
1963
document.getElementById("desc" + id).style.display = "none";
1964
}
1965
}');
0 commit comments