aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/mixed/js/display.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 8dea625d..b524fe34 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -49,10 +49,6 @@ class Display {
yomichan.on('optionsUpdate', () => this.updateOptions(null));
}
- isPrepared() {
- return this.options !== null;
- }
-
onError(_error) {
throw new Error('Override me');
}
@@ -358,7 +354,6 @@ class Display {
async setContentTerms(definitions, context, token) {
if (!context) { throw new Error('Context expected'); }
- if (!this.isPrepared()) { return; }
this.setEventListenersActive(false);
@@ -419,7 +414,6 @@ class Display {
async setContentKanji(definitions, context, token) {
if (!context) { throw new Error('Context expected'); }
- if (!this.isPrepared()) { return; }
this.setEventListenersActive(false);