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

fixed bugs for default theme handling

fixed import for headroom.js
This commit is contained in:
vitorsemeano 2020-11-08 11:39:46 +00:00
parent 194bbf1ff1
commit b23e625c20
3 changed files with 30 additions and 17 deletions

View file

@ -17,6 +17,7 @@ import '../assets/css/scrollstyles.css';
import '../assets/css/flexstyles.scss';
import Dashboard from './clientUtils';
import ServerConnections from '../components/ServerConnections';
import Headroom from 'headroom.js';
/* eslint-disable indent */
@ -801,10 +802,8 @@ import ServerConnections from '../components/ServerConnections';
}
function initHeadRoom(elem) {
import('headroom.js').then((Headroom) => {
const headroom = new Headroom(elem);
headroom.init();
});
const headroom = new Headroom(elem);
headroom.init();
}
function refreshLibraryDrawer(user) {