diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-03-25 18:19:38 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-03-25 18:19:38 -0700 |
commit | 37321e8d52849b0824132e2339760e96308abbb6 (patch) | |
tree | 1e6b986768e65d07337bc31ae1d8c2641f60d9f4 /ext/bg/js/deinflector.js | |
parent | 2c164fb65f286e2852c7e5eb5e7098c5a4fe6f1a (diff) | |
parent | 063f3d4dbf8c896f4f7b022cfae6e2b907769251 (diff) |
Merge branch 'dev'
Diffstat (limited to 'ext/bg/js/deinflector.js')
-rw-r--r-- | ext/bg/js/deinflector.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/deinflector.js b/ext/bg/js/deinflector.js index 6e480068..6484f953 100644 --- a/ext/bg/js/deinflector.js +++ b/ext/bg/js/deinflector.js @@ -90,7 +90,7 @@ class Deinflection { source: this.term, rules: this.rules, definitions: this.definitions, - reasons: [this.reason] + reasons: this.reason.length > 0 ? [this.reason] : [] }]; } |