summaryrefslogtreecommitdiff
path: root/ext/bg/js/dictionary.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-13 18:55:31 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-13 18:55:31 -0700
commit18720aa150734ac1888ca560c6e840d4ce25d00e (patch)
tree400fbc31c5da86e794a63e74a5c688ed910c0da4 /ext/bg/js/dictionary.js
parentc198a0f91942b8016b272c8a5fad609c1ff18ef1 (diff)
Show definitions as lists
Diffstat (limited to 'ext/bg/js/dictionary.js')
-rw-r--r--ext/bg/js/dictionary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/dictionary.js b/ext/bg/js/dictionary.js
index 366692b0..6870601e 100644
--- a/ext/bg/js/dictionary.js
+++ b/ext/bg/js/dictionary.js
@@ -41,7 +41,7 @@ class Dictionary {
results = results.concat(
indices.map(index => {
const [e, r, t, ...g] = dict.defs[index];
- return {id: index, expression: e, reading: r, glossary: g.join('; '), tags: t.split(' ')};
+ return {id: index, expression: e, reading: r, glossary: g, tags: t.split(' ')};
})
);
}