lyunm1206 commited on
Commit ·
871ee40
1
Parent(s): 6bdb5c5
re
Browse files
script.js
CHANGED
|
@@ -91,6 +91,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
| 91 |
});
|
| 92 |
|
| 93 |
function uncheckAllSubOptions(exceptValue) {
|
|
|
|
|
|
|
| 94 |
allSubOptions.forEach(option => {
|
| 95 |
if (option.value !== exceptValue) {
|
| 96 |
option.checked = false;
|
|
|
|
| 91 |
});
|
| 92 |
|
| 93 |
function uncheckAllSubOptions(exceptValue) {
|
| 94 |
+
const allSubOptions = document.querySelectorAll('.tab-content input[type="radio"]');
|
| 95 |
+
|
| 96 |
allSubOptions.forEach(option => {
|
| 97 |
if (option.value !== exceptValue) {
|
| 98 |
option.checked = false;
|