aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-01-09 19:51:21 -0800
committerAlex Yatskov <alex@foosoft.net>2017-01-09 19:51:21 -0800
commit01d73dd2ad0c0e302f2770b704f7f8cef824bb4f (patch)
treecdac4ddfb63bdee367452b96a8045748430055be
parent40838790d5697a418035f753711a54f2f19547e3 (diff)
WIP
-rw-r--r--ext/bg/js/database.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/database.js b/ext/bg/js/database.js
index 4d1f0fb5..b74a59a0 100644
--- a/ext/bg/js/database.js
+++ b/ext/bg/js/database.js
@@ -78,7 +78,7 @@ class Database {
reading: row.reading,
tags: splitField(row.tags),
rules: splitField(row.rules),
- glossary: row.glossary.map(g => g.trim()),
+ glossary: row.glossary,
score: row.score,
dictionary: row.dictionary,
id: row.id
@@ -108,7 +108,7 @@ class Database {
onyomi: splitField(row.onyomi),
kunyomi: splitField(row.kunyomi),
tags: splitField(row.tags),
- glossary: row.meanings.map(m => m.trim()),
+ glossary: row.meanings,
dictionary: row.dictionary
});
}