Fix 4chan X UI elements becoming transparent during Halloween theme.
This commit is contained in:
parent
a3eea420bc
commit
94577277aa
@ -190,7 +190,7 @@ Main =
|
||||
setStyle = ->
|
||||
$.rmClass doc, style
|
||||
for styleSheet in styleSheets
|
||||
if styleSheet.href is mainStyleSheet.href
|
||||
if styleSheet.href is mainStyleSheet?.href
|
||||
style = styleSheet.title.toLowerCase().replace('new', '').trim().replace /\s+/g, '-'
|
||||
break
|
||||
$.addClass doc, style
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user