diff --git a/CHANGELOG.md b/CHANGELOG.md index 25096cb2b..338128a11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,9 @@ ### v1.13.13 +**v1.13.13.3** *(2017-10-30)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.13.3/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.13.3/builds/4chan-X-noupdate.crx)] +- Update for Halloween theme compatibility. + **v1.13.13.2** *(2017-10-27)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.13.2/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.13.2/builds/4chan-X-noupdate.crx)] - Drop now redundant /qa/ message. - Add Catalonia to /pol/ flags. diff --git a/src/main/Main.coffee b/src/main/Main.coffee index 13f949bc7..4c4780ba0 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 = styleSheet.href.match(/[a-z]*(?=[^/]*$)/)[0] if style is '_special' break if style $.addClass doc, style