From 010fa78007c1246978bcbfecdef6ea7b70b47207 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 30 Oct 2017 09:42:45 -0700 Subject: [PATCH] Update for Halloween theme compatibility. --- src/main/Main.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/Main.coffee b/src/main/Main.coffee index 13f949bc7..1b90c45b5 100644 --- a/src/main/Main.coffee +++ b/src/main/Main.coffee @@ -238,6 +238,7 @@ Main = for styleSheet in styleSheets if styleSheet.href is mainStyleSheet?.href style = styleSheet.title.toLowerCase().replace('new', '').trim().replace /\s+/g, '-' + style = 'spooky' if style.href.match(/[a-z]*(?=[^/]*$)/)[0] is 'spooky' break if style $.addClass doc, style