RSS Feed/News jQuery context not available

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,173
Points
823

Reputation:

After updating to 2.3.0, any third-party scripts using jQuery do not work. Looks like a context scope issue.

You can reproduce it by inserting a similar code into any template:
Code:

Code:
<xf:js>
    console.log("executed");
    console.log(typeof jQuery);
    console.log(typeof $);

function uniq_fn()
    {
        console.log("function");
    }
</xf:js>

1720307830452.webp

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