fix serialization errors on Chrome
This commit is contained in:
parent
3975aabf4d
commit
d8935b6aa9
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user