get value from codemirror editor (fix)

This commit is contained in:
Felix Lohmeier 2020-04-29 16:09:29 +02:00
parent 7b6f4e98e2
commit 9a31ad1016
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ $("#btn_validate").click( function () {
$("#errors").html("");
$("#results").html("");
validate($(editor.getValue()).val(), function (feedback) {
validate(editor.getValue(), function (feedback) {
$.each(feedback.warnings, function (index, warning) {
$("#warnings").append($('<li id="warning' + index + '">').text(warning));
});