From 92e99bcc09c4f2012fafaf37d4e6dcb375d043a2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 13 Nov 2015 17:59:19 +0530 Subject: [PATCH] Set rel="next" on the button to show more books --- src/pyj/book_list/views.pyj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pyj/book_list/views.pyj b/src/pyj/book_list/views.pyj index dda7516759..df5eca60cc 100644 --- a/src/pyj/book_list/views.pyj +++ b/src/pyj/book_list/views.pyj @@ -44,6 +44,7 @@ class BooksView: more.appendChild(create_button( _('Show more books'), 'cloud-download', def():self.get_more_books() )) + more.lastChild.setAttribute('rel', 'next') set_css(more.firstChild, display='block', margin_left='auto', margin_right='auto') set_css(more, font_size='1.5rem', padding_top='1.5rem', margin_bottom='1.5rem', width='100%', text_align='center') more.appendChild(E.div(