mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Fix userSettings import
This commit is contained in:
parent
c07dd26fdc
commit
b8422a2464
@ -1,5 +1,5 @@
|
|||||||
import lazyLoader from 'lazyLoader';
|
import * as lazyLoader from 'lazyLoader';
|
||||||
import userSettings from 'userSettings';
|
import * as userSettings from 'userSettings';
|
||||||
import 'css!./style';
|
import 'css!./style';
|
||||||
/* eslint-disable indent */
|
/* eslint-disable indent */
|
||||||
|
|
||||||
@ -45,6 +45,7 @@ import 'css!./style';
|
|||||||
elem.setAttribute("src", url);
|
elem.setAttribute("src", url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.warn(userSettings.enableFastFadein());
|
||||||
if (userSettings.enableFastFadein()) {
|
if (userSettings.enableFastFadein()) {
|
||||||
elem.classList.add('lazy-image-fadein-fast');
|
elem.classList.add('lazy-image-fadein-fast');
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user