From f6077c4242b83bc10c2ca74be30bea5ff6ab353c Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Mon, 17 Jul 2017 00:00:38 -0700 Subject: . --- ext/bg/js/settings.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext') 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; } -- cgit v1.2.3