aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2020-12-14 23:56:56 -0500
committerAjay Ramachandran <[email protected]>2020-12-14 23:56:56 -0500
commit865422eaaa58e6c57247fb96b2a123f45601b775 (patch)
tree974646b87dc7ad3463dd5e73dc9aa124e84d4d37 /src
parent9b572609f87662e01f23b0ce77813b7c50bf5fd5 (diff)
downloadSponsorBlock-865422eaaa58e6c57247fb96b2a123f45601b775.tar.gz
SponsorBlock-865422eaaa58e6c57247fb96b2a123f45601b775.zip
Fix help link on popup
Diffstat (limited to 'src')
-rw-r--r--src/background.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background.ts b/src/background.ts
index 2bab479f..71ce4e09 100644
--- a/src/background.ts
+++ b/src/background.ts
@@ -33,7 +33,7 @@ chrome.runtime.onMessage.addListener(function (request, sender, callback) {
chrome.runtime.openOptionsPage();
return;
case "openHelp":
- window.open(chrome.runtime.getURL('help/index_en.html'));
+ chrome.tabs.create({url: chrome.runtime.getURL('help/index_en.html')});
return;
case "sendRequest":
sendRequestToCustomServer(request.type, request.url, request.data).then(async (response) => {