mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Do not use short words for typochecks
This commit is contained in:
@@ -12,7 +12,7 @@ function typocheck() {
|
|||||||
|
|
||||||
$sources.each(function () {
|
$sources.each(function () {
|
||||||
$.each($(this).val().toLowerCase().replace('-', '').split(' '), function (i, w) {
|
$.each($(this).val().toLowerCase().replace('-', '').split(' '), function (i, w) {
|
||||||
if (w) {
|
if (w && w.length > 5) {
|
||||||
words.push(w);
|
words.push(w);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user