Skip to content

Commit 85a4f29

Browse files
authored
Use h5p-content class to identify div use
1 parent 734c1cd commit 85a4f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/h5pxapikatchu.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ var H5P = H5P || {};
5858
}
5959

6060
// Add listener if DIVs are used.
61-
const h5pDiv = document.getElementsByClassName( 'h5p-no-frame' );
61+
const h5pDiv = document.getElementsByClassName( 'h5p-content' );
6262
if (h5pDiv.length !== 0) {
6363
try {
6464
if ( H5P && H5P.externalDispatcher ) {

0 commit comments

Comments
 (0)