aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-08 19:54:02 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-08 20:01:03 -0400
commitbf5d301685db6c31ea64771dab59610586bc1619 (patch)
tree6a5cce7e1116748359a1fc9c0445637d59640ce3 /ext/bg
parent1074c33f2074984fe5b21654e944d787408c0a93 (diff)
Only use foreground api.js/util.js
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/js/search-frontend.js2
-rw-r--r--ext/bg/search.html4
2 files changed, 2 insertions, 4 deletions
diff --git a/ext/bg/js/search-frontend.js b/ext/bg/js/search-frontend.js
index faec29ef..0c1a61ea 100644
--- a/ext/bg/js/search-frontend.js
+++ b/ext/bg/js/search-frontend.js
@@ -26,10 +26,8 @@ async function searchFrontendSetup() {
if (!options.scanning.enableOnSearchPage) { return; }
const scriptSrcs = [
- '/fg/js/api.js',
'/fg/js/frontend-api-receiver.js',
'/fg/js/popup.js',
- '/fg/js/util.js',
'/fg/js/popup-proxy-host.js',
'/fg/js/frontend.js'
];
diff --git a/ext/bg/search.html b/ext/bg/search.html
index 141dea5d..e71824d3 100644
--- a/ext/bg/search.html
+++ b/ext/bg/search.html
@@ -36,14 +36,14 @@
<script src="/mixed/js/extension.js"></script>
- <script src="/bg/js/api.js"></script>
<script src="/bg/js/audio.js"></script>
<script src="/bg/js/dictionary.js"></script>
<script src="/bg/js/handlebars.js"></script>
<script src="/bg/js/templates.js"></script>
- <script src="/bg/js/util.js"></script>
+ <script src="/fg/js/api.js"></script>
<script src="/fg/js/document.js"></script>
<script src="/fg/js/source.js"></script>
+ <script src="/fg/js/util.js"></script>
<script src="/mixed/js/display.js"></script>
<script src="/mixed/js/japanese.js"></script>
<script src="/mixed/js/scroll.js"></script>