From d6cdd693c87ffd999cb770172629a256c0b7dde1 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 10 Nov 2019 13:55:37 -0500 Subject: Fix several warnings about name conflicts --- ext/mixed/js/display.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/mixed') 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); } } -- cgit v1.2.3