summaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-04-06 21:07:55 -0700
committerAlex Yatskov <alex@foosoft.net>2017-04-06 21:07:55 -0700
commitbbe4afecf6a56f4bdaaafe083a3bf67191fd9cde (patch)
tree2aaecfd3ab5dea3d4a9ca8071dd801c28fa2ebb6 /ext/mixed/js/display.js
parente6b592b4c06ee18017a03bb5148e2c4b64deb146 (diff)
wip
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index f5ad4849..e77ca7da 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -74,7 +74,7 @@ class Display {
if (context) {
for (const definition of definitions) {
- definition.cloze = context.cloze;
+ definition.cloze = clozeBuild(context.cloze);
definition.url = context.url;
}
}
@@ -108,7 +108,7 @@ class Display {
if (context) {
for (const definition of definitions) {
- definition.cloze = context.cloze;
+ definition.cloze = clozeBuild(context.cloze);
definition.url = context.url;
}
}