This commit is contained in:
JSYOO 2021-12-01 17:19:27 +09:00
parent 03fbacd9e6
commit 7d90b68950

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);
} }