Skip to content

Commit

Permalink
Merge pull request #10 from damienromito/master
Browse files Browse the repository at this point in the history
Use h5p-content to identify div use
  • Loading branch information
otacke authored Dec 29, 2018
2 parents ccb12c1 + 85a4f29 commit ee970ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/h5pxapikatchu.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ var H5P = H5P || {};
}

// Add listener if DIVs are used.
const h5pDiv = document.getElementsByClassName( 'h5p-frame' );
const h5pDiv = document.getElementsByClassName( 'h5p-content' );
if (h5pDiv.length !== 0) {
try {
if ( H5P && H5P.externalDispatcher ) {
Expand Down

0 comments on commit ee970ab

Please sign in to comment.