diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 8125eaa46..5f1b054a9 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -222,7 +222,7 @@ Index = $.before a, strong $.add strong, a - update: (pageNum) -> + update: (pageNum, forceReparse) -> return unless navigator.onLine if g.VIEW is 'thread' return ThreadUpdater.update() if Conf['Thread Updater'] @@ -247,7 +247,7 @@ Index = onabort: onload onloadend: onload , - whenModified: Index.board is "#{g.BOARD}" + whenModified: !forceReparse $.addClass Index.button, 'fa-spin' load: (e, pageNum) -> @@ -275,8 +275,6 @@ Index = Navigate.title() - Index.board = "#{g.BOARD}" - try if req.status is 200 Index.parse req.response, pageNum diff --git a/src/General/Navigate.coffee b/src/General/Navigate.coffee index 3db08ca3c..bf02ac164 100644 --- a/src/General/Navigate.coffee +++ b/src/General/Navigate.coffee @@ -223,7 +223,7 @@ Navigate = Navigate.updateSFW Favicon.SFW if view is 'index' - return Index.update pageNum + return Index.update pageNum, true # Moving from index to thread or thread to thread {load} = Navigate