Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
even if this should not be an issue as the parameters are extended
  • Loading branch information
DegrangeM committed Apr 15, 2021
1 parent 40b6fdf commit 4d2116d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h5p-code-highlighter.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ H5P.CodeHighlighter = (function ($) {
$container.addClass('h5p-code-highlighter');

this.editor = CodeMirror($container[0], {
value: CodeMirror.H5P.decode(this.options.code) || '',
value: CodeMirror.H5P.decode(this.options.code || '' ),
keyMap: 'sublime',
tabSize: this.options.tabSize,
indentWithTabs: true,
Expand Down

0 comments on commit 4d2116d

Please sign in to comment.