summaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/context.html (renamed from ext/bg/popup.html)2
-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
-rw-r--r--ext/bg/search.html4
4 files changed, 7 insertions, 5 deletions
diff --git a/ext/bg/popup.html b/ext/bg/context.html
index 60253d6f..3828c9fe 100644
--- a/ext/bg/popup.html
+++ b/ext/bg/context.html
@@ -38,6 +38,6 @@
<script src="/mixed/js/japanese.js"></script>
<script src="/mixed/js/request.js"></script>
- <script src="/bg/js/popup.js"></script>
+ <script src="/bg/js/context.js"></script>
</body>
</html>
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();
diff --git a/ext/bg/search.html b/ext/bg/search.html
index fe44d74e..d10530f9 100644
--- a/ext/bg/search.html
+++ b/ext/bg/search.html
@@ -5,7 +5,7 @@
<title>Yomichan Search</title>
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/mixed/lib/bootstrap/css/bootstrap-theme.min.css">
- <link rel="stylesheet" type="text/css" href="/mixed/css/frame.css">
+ <link rel="stylesheet" type="text/css" href="/mixed/css/display.css">
</head>
<body>
<div class="container-fluid">
@@ -45,6 +45,6 @@
<script src="/mixed/js/display.js"></script>
<script src="/mixed/js/japanese.js"></script>
- <script src="/bg/js/display-window.js"></script>
+ <script src="/bg/js/search.js"></script>
</body>
</html>