RSS Feed/News Phrases and Javascript

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
25,933
Points
823

Reputation:

I'm currently having some issues with phrases in Javascript where it's just rendering out the name of the phrase
1724033172566.webp

My javascript is below:
JavaScript:

Code:
((window, document) => {
  "use strict";

// XF.extendObject(XF.phrases,
  //     {
  //         taylorj_blogs_blog_post_read_time: "{{ phrase('taylorj_blogs_blog_post_read_time')|escape('js') }}",
  //     });

XF.TaylorJBlogs = XF.Element.newHandler({
    init() {
      const words = document.getElementsByClassName("bbWrapper")[0]...

Read more

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