Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
// if photo index is currently shown, refresh it
function refreshPhotoIndex()
{
// if photo index is currently shown, refresh it
function refreshPhotoIndex()
{
- if(document.getElementById("matrix") != undefined || startup == 1) {
+ if(document.getElementById("index") != undefined || startup == 1) {
showPhotoIndex();
startup = 0;
}
showPhotoIndex();
startup = 0;
}
{section name="row" loop=$rows step=1}
{section name="col" loop=$columns step=1}
{if $images[row][col] }
{section name="row" loop=$rows step=1}
{section name="col" loop=$columns step=1}
{if $images[row][col] }