summaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-05-23 21:27:20 -0700
committerAlex Yatskov <alex@foosoft.net>2017-05-23 21:27:20 -0700
commit5de9ac17122002fa8727fd089679394f54af442f (patch)
tree833fecc8b7de8e5f4d476020eeff024abace1037 /ext/mixed
parentac406bdbf0d4b275ed8d1c48e29d0cb69e4d1800 (diff)
add debug logging
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/display.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 0167c605..7982c69f 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -69,7 +69,8 @@ class Display {
definitions,
addable: options.anki.enable,
grouped: options.general.groupResults,
- playback: options.general.audioSource !== 'disabled'
+ playback: options.general.audioSource !== 'disabled',
+ debug: options.general.debugInfo
};
if (context) {
@@ -106,7 +107,8 @@ class Display {
const params = {
definitions,
source: context && context.source,
- addable: options.anki.enable
+ addable: options.anki.enable,
+ debug: options.general.debugInfo
};
if (context) {