Fixed so works with "infinite" series

This commit is contained in:
Jarmo Riikonen 2018-07-06 19:32:57 +03:00
parent e9d98b3e75
commit 3be4421391

View File

@ -12,7 +12,7 @@ component AnimeEpisode(anime *arn.Anime, episode *arn.AnimeEpisode, user *arn.Us
//- a.button(href=anime.Link() + "/episode/" + strconv.Itoa(episode.Number - 1)) //- a.button(href=anime.Link() + "/episode/" + strconv.Itoa(episode.Number - 1))
//- Icon("chevron-left") //- Icon("chevron-left")
//- if episode.Number + 1 < anime.EpisodeCount //- if episode.Number + 1 <= len(anime.Episodes().Items)
//- a.button(href=anime.Link() + "/episode/" + strconv.Itoa(episode.Number + 1)) //- a.button(href=anime.Link() + "/episode/" + strconv.Itoa(episode.Number + 1))
//- Icon("chevron-right") //- Icon("chevron-right")