diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-03-01 14:45:57 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-03-01 14:51:39 -0500 |
commit | 46fee07d36b3966af9bacca8c6253b044bde07ee (patch) | |
tree | ed49f3c3d16a45c24cc58f57d7bcb6e30d45f7b9 /ext/mixed/js/display.js | |
parent | b3994acbac6848e3fd904e5743f86b3d53dd500b (diff) |
Fix audio buttons not being hidden properly
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r-- | ext/mixed/js/display.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js index 631f9e34..e3e5e7df 100644 --- a/ext/mixed/js/display.js +++ b/ext/mixed/js/display.js @@ -369,7 +369,7 @@ class Display { updateDocumentOptions(options) { const data = document.documentElement.dataset; data.ankiEnabled = `${options.anki.enable}`; - data.audioEnabled = `${options.audio.enable}`; + data.audioEnabled = `${options.audio.enabled}`; data.compactGlossaries = `${options.general.compactGlossaries}`; data.enableSearchTags = `${options.scanning.enableSearchTags}`; data.debug = `${options.general.debugInfo}`; |