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 }); diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl index f70a1a075..64b6ee2b5 100644 --- a/themes/default/template/comment_list.tpl +++ b/themes/default/template/comment_list.tpl @@ -9,7 +9,7 @@ } {/html_style}{/strip} {/if} -{footer_script}var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png"{/footer_script} +{footer_script}var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png";{/footer_script}