Javascript error: cannot read properties of undefined (reading ‘trigger’)
-
Hi,
Faced the following Javascript error:cannot read properties of undefined (reading ‘trigger’) in h5p.js?ver=1.15.4 line: 2810 while refreshing the page. The issue was not consistent. The issue appeared at times not during the initial load but while refreshing.As a temporary fix I had modified the Javascript file and wrapped the line 2810 with an if condition
if(window.parent.H5P.externalDispatcher){ window.parent.H5P.externalDispatcher.trigger.call(this, event); }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Javascript error: cannot read properties of undefined (reading ‘trigger’)’ is closed to new replies.