remove the rows x cols logic
[phpfspot.git] / phpfspot.js
index 1b1f05d5ca4e1ec8f6f39ad54f56453991dd8198..4bd321f4ebc782037ec434fc2bf6e4ad1c662182 100644 (file)
@@ -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;
    }