summaryrefslogtreecommitdiff
path: root/ext/bg/js/options-form.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/options-form.js')
-rw-r--r--ext/bg/js/options-form.js4
1 files changed, 3 insertions, 1 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);