From 73ac57f03de10184548db51f801b79b8efa662b6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 22 Jun 2017 19:41:01 +0530 Subject: [PATCH] ... --- src/pyj/book_list/views.pyj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pyj/book_list/views.pyj b/src/pyj/book_list/views.pyj index 87dbc00d86..88a4407a3f 100644 --- a/src/pyj/book_list/views.pyj +++ b/src/pyj/book_list/views.pyj @@ -149,6 +149,8 @@ def apply_view_mode(mode=DEFAULT_MODE): def update_fetching_status(): more = component('more_button') + if not more: + return if book_list_data.fetching_more_books: more.firstChild.style.display = 'none' more.lastChild.style.display = 'block'