mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 07:40:43 +01:00
dont do anything if config is off
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user