mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -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 () => {
|
||||
if (isLegacy) {
|
||||
bridgeCommand(
|
||||
`key:${index}:${getNoteId()}:${transformContentBeforeSave(
|
||||
`key:${index}:${getNoteId()}:${await transformContentBeforeSave(
|
||||
content,
|
||||
)}`,
|
||||
);
|
||||
|
|
@ -1181,7 +1181,7 @@ components and functionality for general note editing.
|
|||
setAddonButtonsDisabled(true);
|
||||
if (isLegacy) {
|
||||
bridgeCommand(
|
||||
`blur:${index}:${getNoteId()}:${transformContentBeforeSave(
|
||||
`blur:${index}:${getNoteId()}:${await transformContentBeforeSave(
|
||||
get(content),
|
||||
)}`,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue