diff --git a/src/pretix/static/pretixpresale/js/ui/typocheck.js b/src/pretix/static/pretixpresale/js/ui/typocheck.js index 61a1a69555..cae70872bc 100644 --- a/src/pretix/static/pretixpresale/js/ui/typocheck.js +++ b/src/pretix/static/pretixpresale/js/ui/typocheck.js @@ -11,9 +11,10 @@ function typocheck() { } $sources.each(function () { - $.each($(this).val().toLowerCase().replace('-', '').split(' '), function (i, w) { + $.each($(this).val().toLowerCase().split(' '), function (i, w) { if (w && w.length > 5) { words.push(w); + words.push(w.replace('-', '')); } }); });