mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Fixed incorrect typo-check suggestion
Thanks @freakboy3742 for reporting see https://twitter.com/freakboy3742/status/936764146074316801
This commit is contained in:
@@ -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('-', ''));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user