From 05bffd36c5b7dd2c452d79e51ed59f203b1df514 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 8 Nov 2016 00:04:28 -0800 Subject: [PATCH] Don't try to toggle catalog hover expansion from non-catalog mode. --- 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 ad841ab4a..7d032104f 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -286,7 +286,7 @@ Index = $.rmClass doc, 'catalog-hover-expand' unless Conf['Catalog Hover Expand'] hoverToggle: (e) -> - if Conf['Catalog Hover Expand'] and !$.modifiedClick(e) and !$.x('ancestor-or-self::a', e.target) + if Conf['Catalog Hover Expand'] and $.hasClass(doc, 'catalog-mode') and !$.modifiedClick(e) and !$.x('ancestor-or-self::a', e.target) $.toggleClass doc, 'catalog-hover-expand' if (thread = Get.threadFromNode e.target) Index.cb.catalogReplies.call thread