Skip to content

Commit

Permalink
Collapse
Browse files Browse the repository at this point in the history
  • Loading branch information
toasted-nutbread committed Feb 25, 2024
1 parent 150d55f commit b0e9580
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ext/js/language/text-utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit b0e9580

Please sign in to comment.