change text of where the welcome template can be found
[phpfspot.git] / phpfspot.js
index 1b1f05d5ca4e1ec8f6f39ad54f56453991dd8198..abf9c43fe6da3e5b94972b8206fa04aa0549d823 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;
    }
@@ -442,6 +442,14 @@ function keyDown(e) {
          }
          return;
       }
+      if(key == 73 && evt.altKey && evt.ctrlKey) /* ctrl+alt+i */ {
+         showPhotoIndex();
+         return;
+      }
+      if(key == 82 && evt.altKey && evt.ctrlKey) /* ctrl+alt+r */ {
+         resetAll();
+         return;
+      }
    }
 }