diff options
-rw-r--r-- | phpfspot.js | 2 | ||||
-rw-r--r-- | 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 @@ </div> </div> -<div> +<div id="index"> {section name="row" loop=$rows step=1} {section name="col" loop=$columns step=1} {if $images[row][col] } |