From 8c236cca44dd6d641f9b185e784cfae9641884cc Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 20 Dec 2019 23:20:22 -0500 Subject: Remove unused yomichan_frontend --- ext/bg/js/settings/popup-preview-frame.js | 1 - ext/fg/js/frontend-initialize.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'ext') 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(); -- cgit v1.2.3