aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/js/thumbnails.loader.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--themes/default/js/thumbnails.loader.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/themes/default/js/thumbnails.loader.js b/themes/default/js/thumbnails.loader.js
index b383b7276..3d54dd825 100644
--- a/themes/default/js/thumbnails.loader.js
+++ b/themes/default/js/thumbnails.loader.js
@@ -1,7 +1,10 @@
+if ( typeof( max_requests ) == "undefined" )
+ max_requests = 3;
+
var thumbnails_queue = jQuery.manageAjax.create('queued', {
queue: true,
cacheResponse: false,
- maxRequests: 3,
+ maxRequests: max_requests,
preventDoubleRequests: false
});