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:
parent
dc5af7d19f
commit
0d1661055b
2 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue