diff options
| author | siikamiika <siikamiika@users.noreply.github.com> | 2019-12-04 21:49:51 +0200 | 
|---|---|---|
| committer | siikamiika <siikamiika@users.noreply.github.com> | 2019-12-04 21:49:51 +0200 | 
| commit | d8935b6aa96ef54263bda439c9ebcc4418b0503f (patch) | |
| tree | 781fc6e1a836cba70f9ed123360f4d70b4a9dd89 | |
| parent | 3975aabf4dc283d49ec46d0ed7ead982b9fa7441 (diff) | |
fix serialization errors on Chrome
| -rw-r--r-- | ext/mixed/js/display.js | 8 | 
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              }; |