mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
feature:2114
All combined scripts must end with ; to avoid javascript error. git-svn-id: http://piwigo.org/svn/trunk@9606 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user