summaryrefslogtreecommitdiff
path: root/ext/bg/js/search.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-19 14:28:07 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-19 14:29:41 -0400
commit4d3d5d9ccb1c8ffbac0be0dc348790b34f68a564 (patch)
tree4719c644f652a66163a2871700e27d976dbf9244 /ext/bg/js/search.js
parent3edaf319da31ef943ada9661eb67019a75e6b7ac (diff)
Rename search-frontend.js to search-main.js
Also move DisplaySearch creation into the main() function.
Diffstat (limited to 'ext/bg/js/search.js')
-rw-r--r--ext/bg/js/search.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js
index 871c576b..266cccc8 100644
--- a/ext/bg/js/search.js
+++ b/ext/bg/js/search.js
@@ -72,12 +72,6 @@ class DisplaySearch extends Display {
]);
}
- static create() {
- const instance = new DisplaySearch();
- instance.prepare();
- return instance;
- }
-
async prepare() {
try {
await super.prepare();
@@ -376,5 +370,3 @@ class DisplaySearch extends Display {
}
}
}
-
-DisplaySearch.instance = DisplaySearch.create();