From befee9ceca1a8a74b0cb70ae5b29f42f2d8f8e26 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 26 Nov 2019 10:49:55 -0500 Subject: [PATCH] Pass kanji character to clozeBuild --- ext/mixed/js/display.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }