This commit is contained in:
Alex Yatskov 2016-11-14 21:14:22 -08:00
parent 09afc64928
commit 2f63eeb2d1
2 changed files with 4 additions and 2 deletions

View File

@ -183,7 +183,9 @@ function populateDictionaries(opts) {
});
}
function onDictionaryPurge() {
function onDictionaryPurge(e) {
e.preventDefault();
showDictionaryError(null);
showDictionarySpinner(true);

View File

@ -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>