Merge branch 'staging' into tabby-models-list

This commit is contained in:
Cohee 2024-09-08 23:53:53 +03:00
commit 0c9f2e91eb
1 changed files with 5 additions and 1 deletions

View File

@ -10750,7 +10750,11 @@ jQuery(async function () {
var icon = $(this).find('.inline-drawer-icon');
icon.toggleClass('down up');
icon.toggleClass('fa-circle-chevron-down fa-circle-chevron-up');
$(this).closest('.inline-drawer').find('.inline-drawer-content').stop().slideToggle();
$(this).closest('.inline-drawer').find('.inline-drawer-content').stop().slideToggle({
complete: () => {
$(this).css('height', '');
},
});
// Set the height of "autoSetHeight" textareas within the inline-drawer to their scroll height
if (!CSS.supports('field-sizing', 'content')) {