diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-03-16 18:48:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-16 18:48:24 -0400 |
commit | 28f97ba40b165eb88f1e6b9820d30e7b93b13fe3 (patch) | |
tree | e41ae3a712a867405fb299d02155acce3416e6bf /ext/js | |
parent | 97ac9099e80697cbee7247fad1e92364fe32dbc3 (diff) |
Update display results style (#1536)
* Expose resultOutputMode
* Update display styles
Diffstat (limited to 'ext/js')
-rw-r--r-- | ext/js/display/display.js | 1 |
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}`; |