There is syntactically invalid Javascript in app/views/shared/_embedded_chat.html.erb - this seems to have been introduced in commit 7e77548. This is causing some of our own code on our institutional VLE that taps into this (to resize some of our own iframes) to fail. Specifically:
Not to have to raise eyebrows when I look at the code :)
Actual behavior:
Eyebrows are indeed raised :)
Additional notes:
All joking aside, you just need to put "e" between those brackets i.e. "catch(e)". It seems hardly worth a pull request (but I'll fork and fix, and do a pull request, if you prefer).
Summary:
There is syntactically invalid Javascript in app/views/shared/_embedded_chat.html.erb - this seems to have been introduced in commit 7e77548. This is causing some of our own code on our institutional VLE that taps into this (to resize some of our own iframes) to fail. Specifically:
Steps to reproduce:
Expected behavior:
Not to have to raise eyebrows when I look at the code :)
Actual behavior:
Eyebrows are indeed raised :)
Additional notes:
All joking aside, you just need to put "e" between those brackets i.e. "catch(e)". It seems hardly worth a pull request (but I'll fork and fix, and do a pull request, if you prefer).