aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/context.js (renamed from ext/bg/js/popup.js)0
-rw-r--r--ext/bg/js/search.js (renamed from ext/bg/js/display-window.js)6
2 files changed, 4 insertions, 2 deletions
diff --git a/ext/bg/js/popup.js b/ext/bg/js/context.js
index 77cb5166..77cb5166 100644
--- a/ext/bg/js/popup.js
+++ b/ext/bg/js/context.js
diff --git a/ext/bg/js/display-window.js b/ext/bg/js/search.js
index cbb96681..87f50c32 100644
--- a/ext/bg/js/display-window.js
+++ b/ext/bg/js/search.js
@@ -17,7 +17,7 @@
*/
-window.yomichan_window = new class extends Display {
+class DisplaySearch extends Display {
constructor() {
super($('#spinner'), $('#content'));
@@ -51,4 +51,6 @@ window.yomichan_window = new class extends Display {
this.onError(e);
}
}
-};
+}
+
+window.yomichan_search = new DisplaySearch();