From b8422a24643c2b460e54d2f38fa02ca68000e939 Mon Sep 17 00:00:00 2001 From: MrTimscampi Date: Fri, 1 May 2020 15:01:56 +0200 Subject: [PATCH] Fix userSettings import --- src/components/images/imageLoader.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/images/imageLoader.js b/src/components/images/imageLoader.js index d610b79938..1254f71167 100644 --- a/src/components/images/imageLoader.js +++ b/src/components/images/imageLoader.js @@ -1,5 +1,5 @@ -import lazyLoader from 'lazyLoader'; -import userSettings from 'userSettings'; +import * as lazyLoader from 'lazyLoader'; +import * as userSettings from 'userSettings'; import 'css!./style'; /* eslint-disable indent */ @@ -45,6 +45,7 @@ import 'css!./style'; elem.setAttribute("src", url); } + console.warn(userSettings.enableFastFadein()); if (userSettings.enableFastFadein()) { elem.classList.add('lazy-image-fadein-fast'); } else {