From a2d0f1ed96588edc1acb8937dade48a21bd7137e Mon Sep 17 00:00:00 2001 From: Mayhem Date: Fri, 13 Jun 2014 01:52:19 +0200 Subject: [PATCH] Don't try to refresh the index on /f/. #1662 --- src/General/Index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index ebc0fdc43..1d06c85ce 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -295,7 +295,7 @@ Index = onSameIndex = g.VIEW is 'index' and a.pathname.split('/')[1] is g.BOARD.ID needChange = Index.cb.indexNav a, onSameIndex # Do nav if this isn't a simple click, or different board. - return if e.shiftKey or e.altKey or e.ctrlKey or e.metaKey or !onSameIndex + return if e.shiftKey or e.altKey or e.ctrlKey or e.metaKey or !onSameIndex or g.BOARD.ID is 'f' e.preventDefault() Index.update() unless needChange indexNav: (a, onSameIndex) ->