Phrases and Javascript

Status
This content is read-only, or is not open for further replies.

Taylor J

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom