Fixed wrong if

pull/104/head
Tobias Reich 10 years ago
parent 93210ecb64
commit cdb7d4c197

@ -79,7 +79,7 @@ photo = {
}
setTimeout(function() {
if (photo.getID()!==false) return false;
if (photo.getID()===false) return false;
lychee.goto(album.getID() + "/" + album.json.content[photo.getID()].previousPhoto)
}, delay);
@ -110,7 +110,7 @@ photo = {
}
setTimeout(function() {
if (photo.getID()!==false) return false;
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…
Cancel
Save