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