| 611 | 611 | if (state) { |
| 612 | 612 | $('#instruct_system_sequence_block').addClass('disabled'); |
| 613 | 613 | $('#instruct_system_suffix_block').addClass('disabled'); |
| 614 | | - $('#instruct_system_sequence').css('height', 'auto'); |
| 615 | | - $('#instruct_system_suffix').css('height', 'auto'); |
| 616 | 614 | $('#instruct_system_sequence').prop('contenteditable', false); |
| 617 | 615 | $('#instruct_system_suffix').prop('contenteditable', false); |
| 618 | 616 | } else { |
| 619 | 617 | $('#instruct_system_sequence_block').removeClass('disabled'); |
| 620 | 618 | $('#instruct_system_suffix_block').removeClass('disabled'); |
| 621 | | - $('#instruct_system_sequence').css('height', ''); |
| 622 | | - $('#instruct_system_suffix').css('height', ''); |
| 623 | 619 | $('#instruct_system_sequence').prop('contenteditable', true); |
| 624 | 620 | $('#instruct_system_suffix').prop('contenteditable', true); |
| 625 | 621 | } |