Forum Discussion
TyroneBishop
3 years agoCommunity Member
Very strange JavaScript problem
Hi,
This is weird! I have a script called app.js and have included it in story.html as such (see Storyline-File.PNG)
When I open the Storyline in my browser, I view source and see the JavaScript...
Jürgen_Schoene_
3 years agoCommunity Member
perhaps "}" or ")" or another char is missing in the script - check your script
https://beautifytools.com/javascript-validator.php
update: i had the same behavior - i was missing the closing bracket in a function
- TyroneBishop3 years agoCommunity Member
Thanks for the reply but I'm using the web developer tools in the browser and I have verified the script
- MathNotermans-93 years agoCommunity Member
Maybe missing a variable in Storyline ? Without seeing and testing your complete .story, its all guessing. You do know each trigger in Storyline has its own local scope ? So you do need to ensure variables are available on triggers.