Board Thread:Code Review/@comment-29457887-20150516042717/@comment-11733175-20150516094418

// Prevent blank edit summaries $('#wpSave').click(function {    var $summary = $('#wpSummary'),        value = $summary.val;

if (!value) { $('#wpSummary').attr('placeholder', 'Edit summary must be filled out'); return false; } else if (value.match(/[a-z]/i)) { return true; } else { $summary .val('') .attr('placeholder', 'Must contain English characters'); return false; } });