Fixed wrong if

This commit is contained in:
Tobias Reich 2014-04-01 22:57:01 +02:00
parent 93210ecb64
commit cdb7d4c197
2 changed files with 3 additions and 3 deletions

View File

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

File diff suppressed because one or more lines are too long