aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-01-17 20:49:14 +0000
committerrvelices <rv-github@modusoptimus.com>2011-01-17 20:49:14 +0000
commitb5046a4f949435ffbf068884f97cce300bf5ee90 (patch)
tree0810fc1bfec8a5be40964cefd26b9b9d0b678862 /include/template.class.php
parentd125d527fa4c0384f3478419e6db985f767923d9 (diff)
got rid of a very innefficient (and not required) css rule
git-svn-id: http://piwigo.org/svn/trunk@8725 68402e56-0260-453c-a942-63ccdbb3a9ee
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[]=