Hello everyone,
I'm trying to call a js function from the theme's question.twig page like so:
Code:
<script type="text/javascript" src="/script.js" >
Code:
<script> function(); </script>
but i keep getting a reference error, function is not defined error message.
The path to the script is correct and the function does exist, any ideas on why this is happening?