mirror of
https://github.com/keymanapp/keyman.git
synced 2026-11-07 16:37:39 +00:00
fix(web): apply logic fix from suggestion
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
This commit is contained in:
parent
6ca785cd13
commit
5ced0d0fb5
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ export class TokenizationCorrector implements CorrectionSearchable<ReadonlyArray
|
|||
|
||||
const correctionIsThePredictable = correctableToUpdate == this._predictable;
|
||||
const delistCorrectable = () => {
|
||||
if(correctionIsThePredictable) {
|
||||
if(!correctionIsThePredictable) {
|
||||
// Lock the 'correctable' token now that either a valid correction for
|
||||
// it has been found or all possible corrections are exhausted. We only
|
||||
// consider a single correction for most of a tokenization's tokens,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue