This commit is contained in:
JSYOO 2021-12-01 17:23:17 +09:00
parent 3482614c89
commit a222e11522

View File

@ -106,7 +106,7 @@ $(document).ready(function() {
$(this).parents('.conditions-box').siblings('.selected-conditions').find('.conditions').append(html); $(this).parents('.conditions-box').siblings('.selected-conditions').find('.conditions').append(html);
} else { } else {
$("button[name="+$(this).attr('id')+"]").remove(); $("button[name="+$(this).attr('id')+"]").remove();
if ($(this).parents('.depth2').find('input:checked').length <= 0) { if ($(this).parents('.depth2').find('input:checked').length <= 0) {
$(this).parents('.depth2').siblings('.depth1-check').find('input').prop('checked', false); $(this).parents('.depth2').siblings('.depth1-check').find('input').prop('checked', false);
} }