mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix collapse
This commit is contained in:
parent
bf447bbed6
commit
17b98ba84e
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
} else {
|
||||
elem.classList.add('hide');
|
||||
}
|
||||
elem.style.height = 'auto';
|
||||
}, 300);
|
||||
|
||||
var icon = button.querySelector('i');
|
||||
|
@ -27,6 +28,9 @@
|
|||
|
||||
function slideUpToHide(button, elem) {
|
||||
|
||||
elem.style.height = elem.offsetHeight + 'px';
|
||||
elem.offsetHeight;
|
||||
|
||||
elem.classList.remove('expanded');
|
||||
elem.style.height = '0';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue