aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-26 10:49:55 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-26 12:35:17 -0500
commitbefee9ceca1a8a74b0cb70ae5b29f42f2d8f8e26 (patch)
treedf19eaec684f8b88045e7ad92da52647475e1b64
parentcb9f9b585a802c7b8dfb5689d326e7482f5ff2db (diff)
Pass kanji character to clozeBuild
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index cbf8efb7..2f10da30 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -398,7 +398,7 @@ class Display {
};
for (const definition of definitions) {
- definition.cloze = Display.clozeBuild(context.sentence);
+ definition.cloze = Display.clozeBuild(context.sentence, definition.character);
definition.url = context.url;
}