From b808ecb188d4745f7b72c71311a0b03964298372 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sun, 6 Jan 2008 09:52:15 +0100 Subject: [PATCH] refixed a little bug when modifying tag selection Signed-off-by: Andreas Unterkircher --- phpfspot.js | 2 +- themes/default/templates/photo_index.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpfspot.js b/phpfspot.js index 1b1f05d..4bd321f 100644 --- a/phpfspot.js +++ b/phpfspot.js @@ -58,7 +58,7 @@ function showPhotoIndex(begin_with) // 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; } diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl index 05d0ecd..3e0f9e7 100644 --- a/themes/default/templates/photo_index.tpl +++ b/themes/default/templates/photo_index.tpl @@ -41,7 +41,7 @@ -
+
{section name="row" loop=$rows step=1} {section name="col" loop=$columns step=1} {if $images[row][col] } -- 2.34.1