X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot.js;h=4bd321f4ebc782037ec434fc2bf6e4ad1c662182;hp=1b1f05d5ca4e1ec8f6f39ad54f56453991dd8198;hb=e54e729719c29d263c140d91fd3b93167ceb188e;hpb=248141f2861881843e972c6f5f8a9ad4f71b06ef 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; }