dont do anything if config is off

v1.18.x
Barış Soner Uşaklı 8 years ago
parent f3c4d2ebe3
commit 2f3aceb7d3

@ -28,6 +28,10 @@ define('forum/topic/images', [
clearTimeout(Images._imageLoaderTimeout); clearTimeout(Images._imageLoaderTimeout);
} }
if (!config.delayImageLoading) {
return;
}
Images._imageLoaderTimeout = setTimeout(function () { Images._imageLoaderTimeout = setTimeout(function () {
/* /*
If threshold is defined, images loaded above this threshold will modify If threshold is defined, images loaded above this threshold will modify

Loading…
Cancel
Save