Fix accidentally reverted var

This commit is contained in:
MrTimscampi 2020-07-26 18:29:41 +02:00
parent dc5af7d19f
commit 0d1661055b
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ import 'emby-button';
elem.classList.remove('hide');
elem.classList.add('expanded');
elem.style.height = 'auto';
var height = elem.offsetHeight + 'px';
const height = elem.offsetHeight + 'px';
elem.style.height = '0';
// trigger reflow
// TODO: Find a better way to do this