mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 05:07:10 -05:00
Add missing await
This commit is contained in:
parent
53095731fc
commit
f2e7504270
1 changed files with 2 additions and 2 deletions
|
|
@ -377,7 +377,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
fieldSave.schedule(async () => {
|
fieldSave.schedule(async () => {
|
||||||
if (isLegacy) {
|
if (isLegacy) {
|
||||||
bridgeCommand(
|
bridgeCommand(
|
||||||
`key:${index}:${getNoteId()}:${transformContentBeforeSave(
|
`key:${index}:${getNoteId()}:${await transformContentBeforeSave(
|
||||||
content,
|
content,
|
||||||
)}`,
|
)}`,
|
||||||
);
|
);
|
||||||
|
|
@ -1181,7 +1181,7 @@ components and functionality for general note editing.
|
||||||
setAddonButtonsDisabled(true);
|
setAddonButtonsDisabled(true);
|
||||||
if (isLegacy) {
|
if (isLegacy) {
|
||||||
bridgeCommand(
|
bridgeCommand(
|
||||||
`blur:${index}:${getNoteId()}:${transformContentBeforeSave(
|
`blur:${index}:${getNoteId()}:${await transformContentBeforeSave(
|
||||||
get(content),
|
get(content),
|
||||||
)}`,
|
)}`,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue