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 = ->
|
setStyle = ->
|
||||||
$.rmClass doc, style
|
$.rmClass doc, style
|
||||||
for styleSheet in styleSheets
|
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, '-'
|
style = styleSheet.title.toLowerCase().replace('new', '').trim().replace /\s+/g, '-'
|
||||||
break
|
break
|
||||||
$.addClass doc, style
|
$.addClass doc, style
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user