Update for Halloween theme compatibility.

This commit is contained in:
ccd0 2017-10-30 09:42:45 -07:00
parent e96a338561
commit 010fa78007

View File

@ -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