aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-20 23:20:22 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-20 23:20:22 -0500
commit8c236cca44dd6d641f9b185e784cfae9641884cc (patch)
tree9f199c6c820ae103207cf4c5e4da589330e74e1f
parent7b9731e616415f90b61e94d4db627928a3a35a03 (diff)
Remove unused yomichan_frontend
-rw-r--r--ext/bg/js/settings/popup-preview-frame.js1
-rw-r--r--ext/fg/js/frontend-initialize.js2
2 files changed, 1 insertions, 2 deletions
diff --git a/ext/bg/js/settings/popup-preview-frame.js b/ext/bg/js/settings/popup-preview-frame.js
index f65b119c..cabadced 100644
--- a/ext/bg/js/settings/popup-preview-frame.js
+++ b/ext/bg/js/settings/popup-preview-frame.js
@@ -48,7 +48,6 @@ class SettingsPopupPreview {
// Overwrite frontend
this.frontend = Frontend.create();
- window.yomichan_frontend = this.frontend;
this.frontend.setEnabled = function () {};
this.frontend.searchClear = function () {};
diff --git a/ext/fg/js/frontend-initialize.js b/ext/fg/js/frontend-initialize.js
index 37a82faa..8ffdf528 100644
--- a/ext/fg/js/frontend-initialize.js
+++ b/ext/fg/js/frontend-initialize.js
@@ -17,4 +17,4 @@
*/
-window.yomichan_frontend = Frontend.create();
+Frontend.create();