1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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

@ -22,7 +22,7 @@ import imageLoader from 'imageLoader';
function loadLatest(context, params, promise) { function loadLatest(context, params, promise) {
promise.then(function (items) { promise.then(function (items) {
var html = ''; let html = '';
html += cardBuilder.getCardsHtml({ html += cardBuilder.getCardsHtml({
items: items, items: items,
shape: 'backdrop', shape: 'backdrop',

View file

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