diff --git a/src/main/Main.coffee b/src/main/Main.coffee index 1b90c45b5..4c4780ba0 100644 --- a/src/main/Main.coffee +++ b/src/main/Main.coffee @@ -238,7 +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' + style = styleSheet.href.match(/[a-z]*(?=[^/]*$)/)[0] if style is '_special' break if style $.addClass doc, style