aboutsummaryrefslogtreecommitdiff
path: root/ext/js/background
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/background')
-rw-r--r--ext/js/background/backend.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/js/background/backend.js b/ext/js/background/backend.js
index 4e86a23c..f8424e80 100644
--- a/ext/js/background/backend.js
+++ b/ext/js/background/backend.js
@@ -16,6 +16,7 @@
*/
/* global
+ * AccessibilityController
* AnkiConnect
* AnkiUtil
* AudioDownloader
@@ -69,6 +70,7 @@ class Backend {
});
this._optionsUtil = new OptionsUtil();
this._scriptManager = new ScriptManager();
+ this._accessibilityController = new AccessibilityController(this._scriptManager);
this._searchPopupTabId = null;
this._searchPopupTabCreatePromise = null;
@@ -988,6 +990,8 @@ class Backend {
this._clipboardMonitor.stop();
}
+ this._accessibilityController.update(this._getOptionsFull(false));
+
this._sendMessageAllTabsIgnoreResponse('Yomichan.optionsUpdated', {source});
}