New reader based on reveal.js. works well on mobile and desktop and gives a better expierance all around.

This commit is contained in:
ajurna committed 2020-05-20 10:26:45 +01:00
1 parent 2debda7abc
commit be32796bea
43 files changed
+16776 -72

No files matched your search

+3 -7
View File
@@ -131,13 +131,9 @@ class ComicBook(models.Model):
out.prev_index = page - 1
out.prev_path = out.cur_path
if self.is_last_page(page):
out.next_path, out.next_index = self.nav_get_next_comic(user)
if out.next_index == -1:
out.q_next_to_directory = True
else:
out.next_index = page + 1
out.next_path = out.cur_path
out.next_path, out.next_index = self.nav_get_next_comic(user)
if out.next_index == -1:
out.q_next_to_directory = True
return out
def nav_get_prev_comic(self, user):