diff --git a/js/app.js b/js/app.js index 54d5b75..418316e 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ $("#btn_validate").click( function () { $("#errors").html(""); $("#results").html(""); - validate($("#ta_turtle").val(), function (feedback) { + validate($(editor.getValue()).val(), function (feedback) { $.each(feedback.warnings, function (index, warning) { $("#warnings").append($('
  • ').text(warning)); });