aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-04-08 12:25:18 -0700
committerAlex Yatskov <alex@foosoft.net>2017-04-08 12:25:18 -0700
commit1ba458ea821b9a39a2cf5eb388f81e4db4763207 (patch)
tree463b010ee19ba24558841a1d840f9011b4f74c6f /ext/mixed/js/display.js
parentc4b1a4a5b4811d7aaa70b3b83f740c9e3d2b86be (diff)
fixing cloze bug
Diffstat (limited to 'ext/mixed/js/display.js')
-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 973b7749..64d462ae 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -108,7 +108,7 @@ class Display {
if (context) {
for (const definition of definitions) {
- definition.cloze = clozeBuild(context.sentence, definition.source);
+ definition.cloze = clozeBuild(context.sentence);
definition.url = context.url;
}
}