Lazy load all images to increase page load times (references #275)

This commit is contained in:
Bernd Bestel
2019-09-18 13:59:37 +02:00
parent d209c0bd22
commit 918f84f568
13 changed files with 48 additions and 18 deletions

View File

@@ -526,3 +526,12 @@ $("textarea.wysiwyg-editor").summernote({
minHeight: "300px",
lang: __t("summernote_locale")
});
function LoadImagesLazy()
{
$(".lazy").Lazy({
enableThrottle: true,
throttle: 500
});
}
LoadImagesLazy();