aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/template.class.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/template.class.php b/include/template.class.php
index 0cccace81..e5f08a85a 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -618,8 +618,7 @@ class Template {
{
$content[]= '<script type="text/javascript">';
$content[]= '(function() {
-var after = document.getElementsByTagName(\'script\')[document.getElementsByTagName(\'script\').length-1];
-var s;';
+var s,after = document.getElementsByTagName(\'script\')[document.getElementsByTagName(\'script\').length-1];';
foreach ($scripts[1] as $id => $script)
{
$content[]=