You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, I am using both Wordpress Autoptimize and Schemaorg Rich Snippets, but when Autoptimize 'optimize javascript' option is checked, the schemaorg Rich Snippets Rating button no longer works. Is there a way to convert the jquery code to plain javascript? or include the option to use non-js rating buttons or jquery rating buttons? thanks
The text was updated successfully, but these errors were encountered:
Site: RasaMalaysia.com Problem: When jQuery is deferred, inline scripts don't work. Evidence: Console error pointing to inline click function. Ratings in the recipe snippet don't save (no alert pops up). Note: ratings in comments continue to work.
I can create a fairly messy solution for this by removing and then enqueuing the (relevant) inline JS. Is it possible to implement a similar solution into your code? I can create a pull request with these particular updates, but I notice other inline JS exists.
Attached: my altered functions.php file and new js file, which are currently working on our site. inline-js-fix.zip
hi, I am using both Wordpress Autoptimize and Schemaorg Rich Snippets, but when Autoptimize 'optimize javascript' option is checked, the schemaorg Rich Snippets Rating button no longer works. Is there a way to convert the jquery code to plain javascript? or include the option to use non-js rating buttons or jquery rating buttons? thanks
The text was updated successfully, but these errors were encountered: