diff --git a/js/app.js b/js/app.js index 418316e..4a84c18 100644 --- a/js/app.js +++ b/js/app.js @@ -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($('
  • ').text(warning)); });