From 3be44213915ff4cebcf819d6ef02f45e4baca1b8 Mon Sep 17 00:00:00 2001 From: Jarmo Riikonen Date: Fri, 6 Jul 2018 19:32:57 +0300 Subject: [PATCH] Fixed so works with "infinite" series --- pages/episode/episode.pixy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/episode/episode.pixy b/pages/episode/episode.pixy index 8032920b..f26dbf31 100644 --- a/pages/episode/episode.pixy +++ b/pages/episode/episode.pixy @@ -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)) //- 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)) //- Icon("chevron-right")