summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
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>