diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-21 18:20:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 18:20:01 -0400 |
commit | 61d2185aee42848fc84174b2ac707e70a957d58e (patch) | |
tree | e861b33529774c801c43766125502db954201688 /ext/bg/js/settings/popup-preview.js | |
parent | a6344f635de2464465317b2ceeb6e19aef056848 (diff) | |
parent | c43dac19a467b055b2e6d16e08cab25dcc748419 (diff) |
Merge pull request #466 from toasted-nutbread/wanakana-global
Use wanakana object directly
Diffstat (limited to 'ext/bg/js/settings/popup-preview.js')
-rw-r--r-- | ext/bg/js/settings/popup-preview.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/bg/js/settings/popup-preview.js b/ext/bg/js/settings/popup-preview.js index 091872be..45bf531e 100644 --- a/ext/bg/js/settings/popup-preview.js +++ b/ext/bg/js/settings/popup-preview.js @@ -15,6 +15,9 @@ * along with this program. If not, see <https://www.gnu.org/licenses/>. */ +/* global + * wanakana + */ function appearanceInitialize() { let previewVisible = false; @@ -37,7 +40,7 @@ function showAppearancePreview() { frame.src = '/bg/settings-popup-preview.html'; frame.id = 'settings-popup-preview-frame'; - window.wanakana.bind(text[0]); + wanakana.bind(text[0]); const targetOrigin = chrome.runtime.getURL('/').replace(/\/$/, ''); |