diff --git a/app/javascript/mastodon/features/compose/util/language_detection.js b/app/javascript/mastodon/features/compose/util/language_detection.js index b3be07d516..ed22a2bd9c 100644 --- a/app/javascript/mastodon/features/compose/util/language_detection.js +++ b/app/javascript/mastodon/features/compose/util/language_detection.js @@ -73,4 +73,4 @@ const guessLanguage = (text) => { export const debouncedGuess = debounce((text, setGuess) => { setGuess(guessLanguage(text)); -}, 500, { leading: true, trailing: true }); \ No newline at end of file +}, 500, { maxWait: 1500, leading: true, trailing: true });