feature 2599: load jQuery by default on gallery side, in footer

git-svn-id: http://piwigo.org/svn/trunk@13763 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2012-03-26 21:31:45 +00:00
parent af4dd67f8f
commit d9df4b6264
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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}
+2 -2
View File
@@ -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}