diff --git a/themes/default/template/mainpage_categories.tpl b/themes/default/template/mainpage_categories.tpl index 096067703..6ca8bbe2b 100644 --- a/themes/default/template/mainpage_categories.tpl +++ b/themes/default/template/mainpage_categories.tpl @@ -8,8 +8,7 @@ } {/html_style}{/strip} {footer_script} - var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png"; - var max_requests = "{$maxRequests}"; + var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png", max_requests = {$maxRequests}; {/footer_script}