Skip to content

Node.js based forum software built for the modern web

dont do anything if config is off

Barış Soner Uşaklı2f3aceb7d3ea
diff --git a/public/src/client/topic/images.js b/public/src/client/topic/images.js
index 52f0671a78..65ad386371 100644
--- a/public/src/client/topic/images.js
+++ b/public/src/client/topic/images.js
@@ -28,6 +28,10 @@ define('forum/topic/images', [
clearTimeout(Images._imageLoaderTimeout);
}
+ if (!config.delayImageLoading) {
+ return;
+ }
+
Images._imageLoaderTimeout = setTimeout(function () {
/*
If threshold is defined, images loaded above this threshold will modify