Fix open drawer sizing issues in Firefox

75e279091c8f6d47bd0f4f7207b0a0a22f476a80

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

1 files changed, +5 -1Ignore whitespace
public/script.js+5 -1
@@ -10747,7 +10747,11 @@ jQuery(async function () {
10747 var icon = $(this).find('.inline-drawer-icon');10747 var icon = $(this).find('.inline-drawer-icon');
10748 icon.toggleClass('down up');10748 icon.toggleClass('down up');
10749 icon.toggleClass('fa-circle-chevron-down fa-circle-chevron-up');10749 icon.toggleClass('fa-circle-chevron-down fa-circle-chevron-up');
10750 $(this).closest('.inline-drawer').find('.inline-drawer-content').stop().slideToggle();10750 $(this).closest('.inline-drawer').find('.inline-drawer-content').stop().slideToggle({
10751 complete: () => {
10752 $(this).css('height', '');
10753 },
10754 });
1075110755
10752 // Set the height of "autoSetHeight" textareas within the inline-drawer to their scroll height10756 // Set the height of "autoSetHeight" textareas within the inline-drawer to their scroll height
10753 if (!CSS.supports('field-sizing', 'content')) {10757 if (!CSS.supports('field-sizing', 'content')) {