This commit is contained in:
Tobias Reich 2014-03-26 23:48:02 +01:00
parent 9fbd2e183b
commit 086131c222
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -120,9 +120,9 @@ $(document).ready(function(){
}) })
.on('swipeEnd', function(e) { .on('swipeEnd', function(e) {
swipe.stop(e.swipe, function() { swipe.stop(e.swipe, function() {
$("#imageview .arrow_wrapper.previous").trigger('touchend'); if (album.json&&album.json.content[photo.getID()]&&album.json.content[photo.getID()].previousPhoto!=="") lychee.goto(album.getID() + "/" + album.json.content[photo.getID()].previousPhoto)
}, function() { }, function() {
$("#imageview .arrow_wrapper.next").trigger('touchend'); if (album.json&&album.json.content[photo.getID()]&&album.json.content[photo.getID()].nextPhoto!=="") lychee.goto(album.getID() + "/" + album.json.content[photo.getID()].nextPhoto)
}); });
}); });
} }