aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-10 13:55:37 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-10 13:55:37 -0500
commitd6cdd693c87ffd999cb770172629a256c0b7dde1 (patch)
tree74d9e81f6e30899d229387f97687e316e9384629 /ext/mixed
parent157e6f7c75a20453e17668c0e8886f46b7f4b7ac (diff)
Fix several warnings about name conflicts
Diffstat (limited to 'ext/mixed')
-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);
}
}