summaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index df887fb0..5a824561 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -77,8 +77,8 @@ class Display {
const definitions = await apiKanjiFind(link.textContent, this.getOptionsContext());
this.setContentKanji(definitions, context);
- } catch (e) {
- this.onError(e);
+ } catch (error) {
+ this.onError(error);
}
}
@@ -140,8 +140,8 @@ class Display {
}
this.setContentTerms(definitions, context);
- } catch (e) {
- this.onError(e);
+ } catch (error) {
+ this.onError(error);
}
}