Skip to content

Commit

Permalink
feature 2599: load jQuery by default on gallery side, in footer
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@13763 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Mar 26, 2012
1 parent af4dd67 commit d9df4b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion themes/default/template/header.tpl
Expand Up @@ -49,7 +49,7 @@
<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script>
<![endif]-->

{combine_script id="jquery"}
{combine_script id="jquery" load="footer"}

{if not empty($head_elements)}
{foreach from=$head_elements item=elt}{$elt}
Expand Down
4 changes: 2 additions & 2 deletions themes/elegant/local_head.tpl
@@ -1,5 +1,5 @@
{if $BODY_ID=='thePicturePage'}
{combine_script id='elegant.scripts_pp' load='header' require='jquery' path='themes/elegant/scripts_pp.js'}
{combine_script id='elegant.scripts_pp' load='footer' require='jquery' path='themes/elegant/scripts_pp.js'}
{else}
{combine_script id='elegant.scripts' load='header' require='jquery' path='themes/elegant/scripts.js'}
{combine_script id='elegant.scripts' load='footer' require='jquery' path='themes/elegant/scripts.js'}
{/if}

0 comments on commit d9df4b6

Please sign in to comment.