aboutsummaryrefslogtreecommitdiffhomepage
path: root/background.js
diff options
context:
space:
mode:
authorOfficial Noob <[email protected]>2019-08-12 21:43:34 +0100
committerGitHub <[email protected]>2019-08-12 21:43:34 +0100
commit2deb2ff4b5cdf3b59115672ced08f517123e6cd0 (patch)
treef01f108c7a13b0ae96cad148469ae17d60310430 /background.js
parentfb1836cd0789dc5596d9f4d330fd8686d50bf2f9 (diff)
downloadSponsorBlock-2deb2ff4b5cdf3b59115672ced08f517123e6cd0.tar.gz
SponsorBlock-2deb2ff4b5cdf3b59115672ced08f517123e6cd0.zip
added helpPage
Diffstat (limited to 'background.js')
-rw-r--r--background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/background.js b/background.js
index 55826752..ac3630ee 100644
--- a/background.js
+++ b/background.js
@@ -56,7 +56,7 @@ chrome.runtime.onInstalled.addListener(function (object) {
if (!shownInstallPage){
//open up the install page
- chrome.tabs.create({url: chrome.extension.getURL("/help/"+navigator.language.split("-")[0]"-index.html")});
+ chrome.tabs.create({url: chrome.extension.getURL("/help/"+chrome.i18n.getMessage("helpPage")});
}
// TODO (shownInstallPage): delete if statement and contents