summaryrefslogtreecommitdiffstats
path: root/phpfspot.js
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot.js')
-rw-r--r--phpfspot.js2
1 files changed, 1 insertions, 1 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;
}