summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-11-14 21:14:22 -0800
committerAlex Yatskov <alex@foosoft.net>2016-11-14 21:14:22 -0800
commit2f63eeb2d1d80090f198c4499c0d58210ead0b24 (patch)
treebd68b01aa51a1dae11b1a4d92747b7d9af405345 /ext
parent09afc649283debabc7087ed4242b5c53ea2dfd9a (diff)
WIP
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/options-form.js4
-rw-r--r--ext/bg/options.html2
2 files changed, 4 insertions, 2 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js
index d8835297..fb81e83a 100644
--- a/ext/bg/js/options-form.js
+++ b/ext/bg/js/options-form.js
@@ -183,7 +183,9 @@ function populateDictionaries(opts) {
});
}
-function onDictionaryPurge() {
+function onDictionaryPurge(e) {
+ e.preventDefault();
+
showDictionaryError(null);
showDictionarySpinner(true);
diff --git a/ext/bg/options.html b/ext/bg/options.html
index dd43f097..eec0bc1b 100644
--- a/ext/bg/options.html
+++ b/ext/bg/options.html
@@ -73,7 +73,7 @@
<p class="help-block">
Yomichan can import both bundled and custom (see the <a href="https://foosoft.net/projects/yomichan-import">Yomichan Import</a>
page for details) dictionaries. Although it is also possible to delete unneeded dictionaries, this operation is <em>extremely slow</em> and it is often
- easier to disable them or simply <a id="dict-purge">purge the database</a>. Please make sure to
+ easier to disable them or simply <a href="#" id="dict-purge">purge the database</a>. Please make sure to
wait for import and delete operations to complete before closing this page.
</p>