| 609 | 609 | $('#instruct_system_same_as_user').on('input', function () { |
| 610 | 610 | const state = !!$(this).prop('checked'); |
| 611 | 611 | if (state) { |
| 612 | | - const tempHeightForDisabled = $('#instruct_system_sequence').css('height'); |
| 613 | 612 | $('#instruct_system_sequence_block').addClass('disabled'); |
| 614 | 613 | $('#instruct_system_suffix_block').addClass('disabled'); |
| 615 | 614 | $('#instruct_system_sequence').css('height', tempHeightForDisabled'auto'); |
| 616 | 615 | $('#instruct_system_suffix').css('height', tempHeightForDisabled'auto'); |
| 617 | 616 | $('#instruct_system_sequence').prop('contenteditable', false); |
| 618 | 617 | $('#instruct_system_suffix').prop('contenteditable', false); |
| 619 | 618 | } else { |