mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Fix alert not appearing when FSRS parameters input is focused (#3053)
This commit is contained in:
parent
fa771991ca
commit
631088cdca
1 changed files with 3 additions and 1 deletions
|
@ -118,7 +118,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
});
|
});
|
||||||
if (
|
if (
|
||||||
$config.fsrsWeights.length &&
|
$config.fsrsWeights.length &&
|
||||||
$config.fsrsWeights.every((n, i) => n === resp.weights[i])
|
$config.fsrsWeights.every(
|
||||||
|
(n, i) => n.toFixed(4) === resp.weights[i].toFixed(4),
|
||||||
|
)
|
||||||
) {
|
) {
|
||||||
alert(tr.deckConfigFsrsParamsOptimal());
|
alert(tr.deckConfigFsrsParamsOptimal());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue