aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-15 17:32:31 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-06 18:20:04 -0400
commit4011a091b69475e7096d80103b4dad9aa1b8d80b (patch)
tree2dcf382cd6161114e53c6bbf5c3b9545d007f8c6 /ext/mixed
parent059db280bba858a3cab3a542aef13f19737aaf6e (diff)
Add support for {document-title}
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/display.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index ecf92013..646d60e7 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -935,7 +935,11 @@ class Display {
}
_getNoteContext() {
- return {};
+ return {
+ document: {
+ title: document.title
+ }
+ };
}
async _getAudioUri(definition, source) {