summaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-25 22:18:31 -0500
committerGitHub <noreply@github.com>2021-01-25 22:18:31 -0500
commit34fed22ccb34720a16097baebc25fe96278be93c (patch)
tree3ec06b9fabf42b3bf4a1f29c823a4a0cec6d7b5e /ext/mixed
parent981f73b5623249b4c4cead0261eab0e70f620d90 (diff)
Fix clipboard monitor not persisting (#1315)
* Add optionsUpdated event to Display * Update this._clipboardMonitorEnabled * Update settings to ensure no unexpected behaviour
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index fdb0af39..15724fe4 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -313,6 +313,8 @@ class Display extends EventDispatcher {
this._updateNestedFrontend(options);
this._updateDefinitionTextScanner(options);
+
+ this.trigger('optionsUpdated', {options});
}
clearAutoPlayTimer() {