summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-07-17 00:00:38 -0700
committerAlex Yatskov <alex@foosoft.net>2017-07-17 00:00:38 -0700
commitf6077c4242b83bc10c2ca74be30bea5ff6ab353c (patch)
tree2d384058e2d55db4c87a8e0b5d5cc48f5866cde8 /ext
parentc4a39da766e0e7ff11b5fc157321b52f4d62985c (diff)
.
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/settings.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/bg/js/settings.js b/ext/bg/js/settings.js
index 0ef8c21f..3cd64fbd 100644
--- a/ext/bg/js/settings.js
+++ b/ext/bg/js/settings.js
@@ -94,7 +94,7 @@ function formUpdateVisibility(options) {
}
}
-async function onFormOptionsChanged(e) { (async () => {
+async function onFormOptionsChanged(e) {(async () => {
if (!e.originalEvent && !e.isTrigger) {
return;
}
@@ -243,7 +243,7 @@ async function dictionaryGroupsPopulate(options) {
});
}
-async function onDictionaryPurge(e) { (async () => {
+async function onDictionaryPurge(e) {(async () => {
e.preventDefault();
const dictControls = $('#dict-importer, #dict-groups').hide();
@@ -269,7 +269,7 @@ async function onDictionaryPurge(e) { (async () => {
}
})();}
-function onDictionaryImport(e) { (async () => {
+function onDictionaryImport(e) {(async () => {
const dictFile = $('#dict-file');
const dictControls = $('#dict-importer').hide();
const dictProgress = $('#dict-import-progress').show();
@@ -414,7 +414,7 @@ function onAnkiMarkerClicked(e) {
$(link).closest('.input-group').find('.anki-field-value').val(`{${link.text}}`).trigger('change');
}
-function onAnkiModelChanged(e) { (async () => {
+function onAnkiModelChanged(e) {(async () => {
if (!e.originalEvent) {
return;
}