aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/template.class.php')
-rw-r--r--include/template.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/template.class.php b/include/template.class.php
index e2e7b8786..1536e8f7a 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -1318,7 +1318,7 @@ final class FileCombiner
require_once(PHPWG_ROOT_PATH.'include/jsmin.class.php');
try { $js = JSMin::minify($js); } catch(Exception $e) {}
}
- return $js;
+ return trim($js, " \t\r\n;").";\n";
}
private static function process_css($file)