Fix undefined error

This commit is contained in:
Tobias Reich 2014-04-01 22:55:45 +02:00
parent edb7471b10
commit 93210ecb64
2 changed files with 4 additions and 2 deletions

View File

@ -79,6 +79,7 @@ photo = {
}
setTimeout(function() {
if (photo.getID()!==false) return false;
lychee.goto(album.getID() + "/" + album.json.content[photo.getID()].previousPhoto)
}, delay);
@ -109,6 +110,7 @@ photo = {
}
setTimeout(function() {
if (photo.getID()!==false) return false;
lychee.goto(album.getID() + "/" + album.json.content[photo.getID()].nextPhoto);
}, delay);

File diff suppressed because one or more lines are too long