diff --git a/ext/js/language/text-utilities.js b/ext/js/language/text-utilities.js index 724f9bae91..ca8958aa38 100644 --- a/ext/js/language/text-utilities.js +++ b/ext/js/language/text-utilities.js @@ -24,8 +24,6 @@ import {isStringPartiallyJapanese} from './ja/japanese.js'; * @returns {?string} */ export function getLanguageFromText(text) { - if (isStringPartiallyJapanese(text)) { - return 'ja'; - } + if (isStringPartiallyJapanese(text)) { return 'ja'; } return null; }