Hello,
After updating my website to 4.0.8. the Global JS is not working and I get error messages. Before the JS was working fine.
Hello,
After updating my website to 4.0.8. the Global JS is not working and I get error messages. Before the JS was working fine.
I have the same issue. If you want to follow along with it here: Update Causing issues with Global JS
Hi @Timmid,
I’ve taken a look and noticed on the front end of your site the first line is getting bumped up into the comments like this:
// column links // (function($){
I think it might be related to the SG optimizer plugin. It might be a glitch in their minification system. My first suggestion would be to try removing that comment line and see if it starts working. Next I’d try disabling SG Optimizer to see if that makes a difference.
Finally, in Pro 4.0 we added a way to directly add links to columns which might help. Just change the tag to <a>
when inspecting a column and a link control will appear. That would be a good way to manage what this code seems to be doing in the page builder instead of requiring additional javascript after this release.
Just wanted to add to this thread that global JS does look the same for me - with all kinds of error messages, and “red dots” next to the line numbers. The code itself works, though, and it is properly executed on the page.
This is with the latest upgrade to 4.0.8. of Pro. It was like that for earlier point releases as well.
Hi @striata,
I’m sorry about the incorrect linting rules. Ignore them for now - we’ve got those fixed for the next version.
Thx for the help.
I added a direct link to the columns with the new <a>
tag. Great update of the page builder!
Problem solved.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.