diff options
Diffstat (limited to 'extension')
-rw-r--r-- | extension/interactive-bgm.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/extension/interactive-bgm.js b/extension/interactive-bgm.js index 78495f5..2bafe54 100644 --- a/extension/interactive-bgm.js +++ b/extension/interactive-bgm.js @@ -10,11 +10,9 @@ document.addEventListener('visibilitychange', () => { } }); -window.addEventListener('load', () => { - if (!document.hidden) { - sendURL(); - } -}); +if (!document.hidden) { + sendURL(); +} let isShowingCreateTrack = false; |