aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/settings')
-rw-r--r--ext/bg/js/settings/dictionary-controller.js2
-rw-r--r--ext/bg/js/settings/dictionary-import-controller.js2
-rw-r--r--ext/bg/js/settings/main.js4
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/bg/js/settings/dictionary-controller.js b/ext/bg/js/settings/dictionary-controller.js
index db3ebb22..ed33b97b 100644
--- a/ext/bg/js/settings/dictionary-controller.js
+++ b/ext/bg/js/settings/dictionary-controller.js
@@ -185,7 +185,7 @@ class DictionaryEntry {
}
class DictionaryController {
- constructor(settingsController, modalController, storageController, statusFooter=null) {
+ constructor(settingsController, modalController, storageController, statusFooter) {
this._settingsController = settingsController;
this._modalController = modalController;
this._storageController = storageController;
diff --git a/ext/bg/js/settings/dictionary-import-controller.js b/ext/bg/js/settings/dictionary-import-controller.js
index 22146ec1..a6499de9 100644
--- a/ext/bg/js/settings/dictionary-import-controller.js
+++ b/ext/bg/js/settings/dictionary-import-controller.js
@@ -24,7 +24,7 @@
*/
class DictionaryImportController {
- constructor(settingsController, modalController, storageController, statusFooter=null) {
+ constructor(settingsController, modalController, storageController, statusFooter) {
this._settingsController = settingsController;
this._modalController = modalController;
this._storageController = storageController;
diff --git a/ext/bg/js/settings/main.js b/ext/bg/js/settings/main.js
index 635549f8..09df19e4 100644
--- a/ext/bg/js/settings/main.js
+++ b/ext/bg/js/settings/main.js
@@ -83,10 +83,10 @@ async function setupEnvironmentInfo() {
const profileController = new ProfileController(settingsController, modalController);
profileController.prepare();
- const dictionaryController = new DictionaryController(settingsController, modalController, storageController);
+ const dictionaryController = new DictionaryController(settingsController, modalController, storageController, null);
dictionaryController.prepare();
- const dictionaryImportController = new DictionaryImportController(settingsController, modalController, storageController);
+ const dictionaryImportController = new DictionaryImportController(settingsController, modalController, storageController, null);
dictionaryImportController.prepare();
const ankiController = new AnkiController(settingsController);