JS added in header throws error
-
Hello,
is it absolutely necessary for your plugin to add this bit to the page header ?
<!-- WooCommerce JavaScript --> <script type="text/javascript"> jQuery(function($) { tvc_lc="RON"; tvc_smd={"tvc_wcv":"3.2.1","tvc_wpv":"4.9.4","tvc_eev":"1.2.2","tvc_cnf":{"t_ee":"yes","t_df":true,"t_gUser":false,"t_UAen":"yes","t_thr":"6"}}; }); </script>
Because in my case I get a javascript error because of it: “Uncaught ReferenceError: jQuery is not defined”. And secondly because it’s a rather ugly solution to whatever problem it solves.
Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘JS added in header throws error’ is closed to new replies.