From 34fed22ccb34720a16097baebc25fe96278be93c Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Mon, 25 Jan 2021 22:18:31 -0500 Subject: Fix clipboard monitor not persisting (#1315) * Add optionsUpdated event to Display * Update this._clipboardMonitorEnabled * Update settings to ensure no unexpected behaviour --- ext/mixed/js/display.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/mixed/js') 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() { -- cgit v1.2.3