aboutsummaryrefslogtreecommitdiff
path: root/ext/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-03-16 18:48:24 -0400
committerGitHub <noreply@github.com>2021-03-16 18:48:24 -0400
commit28f97ba40b165eb88f1e6b9820d30e7b93b13fe3 (patch)
treee41ae3a712a867405fb299d02155acce3416e6bf /ext/js
parent97ac9099e80697cbee7247fad1e92364fe32dbc3 (diff)
Update display results style (#1536)
* Expose resultOutputMode * Update display styles
Diffstat (limited to 'ext/js')
-rw-r--r--ext/js/display/display.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/display/display.js b/ext/js/display/display.js
index e564c4ec..65cc579f 100644
--- a/ext/js/display/display.js
+++ b/ext/js/display/display.js
@@ -819,6 +819,7 @@ class Display extends EventDispatcher {
_updateDocumentOptions(options) {
const data = document.documentElement.dataset;
data.ankiEnabled = `${options.anki.enable}`;
+ data.resultOutputMode = `${options.general.resultOutputMode}`;
data.glossaryLayoutMode = `${options.general.glossaryLayoutMode}`;
data.compactTags = `${options.general.compactTags}`;
data.frequencyDisplayMode = `${options.general.frequencyDisplayMode}`;