diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-07-09 17:31:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-09 17:31:16 -0400 |
commit | 0d167095479822adf1ed8918e3d1a349b3a53377 (patch) | |
tree | d99c720a58451e70d44d4a03b1c2c2c3819328a8 /ext/js/background | |
parent | daa44a8389806046ca8fde9fa1c96c1e961393f4 (diff) |
JapaneseUtil updates (#1813)
* Rename test file
* Use shorthand
* Add support checking functions
* Remove convertReading from JapaneseUtil
Diffstat (limited to 'ext/js/background')
-rw-r--r-- | ext/js/background/backend.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/background/backend.js b/ext/js/background/backend.js index c797bbf5..af847610 100644 --- a/ext/js/background/backend.js +++ b/ext/js/background/backend.js @@ -1066,7 +1066,7 @@ class Backend { if ( dictionaryEntries.length > 0 && originalTextLength > 0 && - (originalTextLength !== character.length || this._japaneseUtil.isCodePointJapanese(codePoint)) + (originalTextLength !== character.length || jp.isCodePointJapanese(codePoint)) ) { previousUngroupedSegment = null; const {headwords: [{term, reading}]} = dictionaryEntries[0]; |