aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
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/bg/js
parent09afc649283debabc7087ed4242b5c53ea2dfd9a (diff)
WIP
Diffstat (limited to 'ext/bg/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);