Forum Discussion

VijayKumawat-71's avatar
VijayKumawat-71
Community Member
2 years ago

Storyline Skipping Java Script triggers

We have added the executed Java script on the previous and Next buttons, but in some cases, on specific browsers like Firefox, we found executed javascript not getting triggered,     

For reference please find attached screenshots.

kindly help us to provide solutions.

Thanks in advance.

  • Are you getting any errors in the console, a JS aerror in user.js will stop subsequent code running

  • Hi Phil,

    We have tested the issue, and it does not occur at our end. This issue persists at the user end.

    Let me know if there is anything else needed for my end.




    • PhilMayor-b4ca0's avatar
      PhilMayor-b4ca0
      Community Member

      JavaScript always runs locally have you looked at the console to see if you get errors the problem is likely some code that doesnt work in the course as if they blocked JavaScript the course would not run.

      Sent from Outlook for iOS

  • the next/prev button is not is not the ideal place to start asynchronous javascript

    you should definitely wait until the answer comes from the LMS server and only then switch to the slide