Merge branch 'bstable'

This commit is contained in:
ccd0 2017-10-30 09:47:59 -07:00
commit 6799ceff3e
2 changed files with 4 additions and 0 deletions

View File

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

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 = styleSheet.href.match(/[a-z]*(?=[^/]*$)/)[0] if style is '_special'
break
if style
$.addClass doc, style