Fixed an error in Brave browser

This commit is contained in:
ManeraKai 2022-03-13 11:44:05 +03:00
parent 6e8f9b2f66
commit ea8567937a
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
1 changed files with 16 additions and 16 deletions

View File

@ -19,23 +19,23 @@ import youtubeMusicHelper from "../../assets/javascripts/helpers/youtubeMusic.js
window.browser = window.browser || window.chrome; window.browser = window.browser || window.chrome;
async function wholeInit() { async function wholeInit() {
youtubeHelper.init() await youtubeHelper.init()
youtubeMusicHelper.init() await youtubeMusicHelper.init()
twitterHelper.init() await twitterHelper.init()
instagramHelper.init() await instagramHelper.init()
mapsHelper.init() await mapsHelper.init()
searchHelper.init() await searchHelper.init()
translateHelper.init() await translateHelper.init()
mediumHelper.init() await mediumHelper.init()
redditHelper.init() await redditHelper.init()
wikipediaHelper.init() await wikipediaHelper.init()
imgurHelper.init() await imgurHelper.init()
tiktokHelper.init() await tiktokHelper.init()
pixivHelper.init() await pixivHelper.init()
sendTargetsHelper.init() await sendTargetsHelper.init()
generalHelper.init() await generalHelper.init()
} }
wholeInit(); await wholeInit();
browser.storage.onChanged.addListener(wholeInit); browser.storage.onChanged.addListener(wholeInit);