Fix undefined error
This commit is contained in:
parent
edb7471b10
commit
93210ecb64
@ -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
Loading…
Reference in New Issue
Block a user