Fix instruct_system_same_as_user disabled mode heights

be03772c5236f07294e9c8d25fc08985e0159a4a

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -3Showing whitespace changes
public/scripts/instruct-mode.js+2 -3
@@ -609,11 +609,10 @@ jQuery(() => {
609609 $('#instruct_system_same_as_user').on('input', function () {
610610 const state = !!$(this).prop('checked');
611611 if (state) {
612- const tempHeightForDisabled = $('#instruct_system_sequence').css('height');
613612 $('#instruct_system_sequence_block').addClass('disabled');
614613 $('#instruct_system_suffix_block').addClass('disabled');
615614 $('#instruct_system_sequence').css('height', tempHeightForDisabled'auto');
616615 $('#instruct_system_suffix').css('height', tempHeightForDisabled'auto');
617616 $('#instruct_system_sequence').prop('contenteditable', false);
618617 $('#instruct_system_suffix').prop('contenteditable', false);
619618 } else {