Fixed core.js: window.head should be document.head

digitalpoint

Well-known member
Affected version
2.3
Was having an issue where inline CSS wasn't being applied when using XF.setupHtmlInsert() as expected.

Turns out, the inline CSS is being applied to window.head, but that's not a thing. It should be document.head. Changed it and inline CSS started working as expected.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.1).

Change log:
Apply inline style to document.head correctly
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom