From b64b5138415bc069528098e0881212434ce985b5 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 1 Oct 2016 20:15:03 -0700 Subject: [PATCH] Fix needless call to Index.buildIndex. --- src/General/Index.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 59bbdefa5..90aeb6728 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -272,9 +272,9 @@ Index = Index.sort() Index.buildIndex() - hover: -> + hover: (e) -> doc.classList.toggle 'catalog-hover-expand', Conf['Catalog Hover Expand'] - Index.cb.replies() if Conf['Show Replies'] and Conf['Catalog Hover Expand'] + Index.cb.replies() if e and Conf['Show Replies'] and Conf['Catalog Hover Expand'] popstate: (e) -> if e?.state