Fixed wrong if
This commit is contained in:
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…
Reference in New Issue
Block a user