Do not use short words for typochecks

This commit is contained in:
Raphael Michel
2017-05-18 18:14:08 +02:00
parent ed7e90451b
commit 6396d2f922

View File

@@ -12,7 +12,7 @@ function typocheck() {
$sources.each(function () {
$.each($(this).val().toLowerCase().replace('-', '').split(' '), function (i, w) {
if (w) {
if (w && w.length > 5) {
words.push(w);
}
});