Skip to content

Commit

Permalink
[frontend/common] Fixing code offset increment
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreDoneux committed Feb 6, 2024
1 parent f35de8b commit 3ad399c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inginious/frontend/static/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function registerCodeEditor(textarea, lang, lines, firstline=1)

var editor = CodeMirror.fromTextArea(textarea, {
lineNumbers: true,
firstLineNumber: firstline,
firstLineNumber: parseInt(firstline),
mode: mode["mime"],
foldGutter: true,
styleActiveLine: true,
Expand Down

0 comments on commit 3ad399c

Please sign in to comment.