aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-05-19 20:33:06 -0400
committerGitHub <noreply@github.com>2020-05-19 20:33:06 -0400
commitdd673f0b2626c2bffbcb301dc364009f077c3d08 (patch)
tree64319346c3e9a9debe76e62b6adc77034aec52e8 /ext/bg/js
parentdd6c3015c4af6db5f1deca797366ed6269b7d82c (diff)
Dynamic loader load style (#521)
* Remove unnecessary load of /fg/css/client.css * Replace dynamicLoader.loadStyles with dynamicLoader.loadStyle * Replace Popup._injectStylesheet with dynamicLoader.loadStyle * Remove unused global
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/search-main.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/bg/js/search-main.js b/ext/bg/js/search-main.js
index 6e092fbc..54fa549d 100644
--- a/ext/bg/js/search-main.js
+++ b/ext/bg/js/search-main.js
@@ -23,9 +23,6 @@
*/
async function injectSearchFrontend() {
- dynamicLoader.loadStyles([
- '/fg/css/client.css'
- ]);
await dynamicLoader.loadScripts([
'/mixed/js/text-scanner.js',
'/fg/js/frontend-api-receiver.js',