Prevent double init. Ie9 fix.
parent
72db596bac
commit
2f44edd65a
|
@ -14,9 +14,6 @@
|
||||||
<div class="h5p-content" data-content-id="<?php print $content['id']; ?>"></div>
|
<div class="h5p-content" data-content-id="<?php print $content['id']; ?>"></div>
|
||||||
<script>
|
<script>
|
||||||
H5PIntegration = <?php print json_encode($integration); ?>;
|
H5PIntegration = <?php print json_encode($integration); ?>;
|
||||||
H5P.jQuery(document).ready(function () {
|
|
||||||
H5P.init();
|
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue