diff --git a/custom.js b/custom.js index 721df3d..78a7a09 100755 --- a/custom.js +++ b/custom.js @@ -21,7 +21,7 @@ jQuery( document ).ready(function($) { //Et on remplit le champ commentaire si il a été laissé vide $('#commentform #submit').click(function (){ - if($('#commentform .comment-form-comment').val().length === 0) { + if($('#commentform .comment-form-comment textarea').val().length === 0) { $('#commentform .comment-form-comment textarea').val("Aucun commentaire"); } });