summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/mixed/js/display.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index c32852ad..7d5e4e7d 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -354,8 +354,8 @@ class Display {
const sequence = ++this.sequence;
const params = {
definitions,
- source: this.context.previous,
- next: this.context.next,
+ source: !!this.context.previous,
+ next: !!this.context.next,
addable: options.anki.enable,
grouped: options.general.resultOutputMode === 'group',
merged: options.general.resultOutputMode === 'merge',
@@ -415,8 +415,8 @@ class Display {
const sequence = ++this.sequence;
const params = {
definitions,
- source: this.context.previous,
- next: this.context.next,
+ source: !!this.context.previous,
+ next: !!this.context.next,
addable: options.anki.enable,
debug: options.general.debugInfo
};