RSS Feed/News core.js: window.head should be document.head

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,006
Points
823

Reputation:

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.

Continue reading...
 
Status
Not open for further replies.
Top