We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9503dec commit 56aa226Copy full SHA for 56aa226
scripts/h5peditor-init.js
@@ -2,7 +2,7 @@
2
H5PEditor.init = function ($form, $type, $upload, $create, $editor, $library, $params, $maxScore, $title, cancelSubmitCallback) {
3
H5PEditor.$ = H5P.jQuery;
4
H5PEditor.basePath = H5PIntegration.editor.libraryUrl;
5
- H5PEditor.fileIcon = H5PIntegration.editor.fileIcon;
+ H5PEditor.fileIcon = H5PIntegration.editor.fileIcon ?? {};
6
H5PEditor.ajaxPath = H5PIntegration.editor.ajaxPath;
7
H5PEditor.filesPath = H5PIntegration.editor.filesPath;
8
H5PEditor.apiVersion = H5PIntegration.editor.apiVersion;
0 commit comments