mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-11 09:30:46 +01:00
Added "openConfig" message
This commit is contained in:
parent
297c95ac6b
commit
f58a16179a
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ chrome.tabs.onUpdated.addListener(function(tabId) {
|
|||
|
||||
chrome.runtime.onMessage.addListener(function (request, sender, callback) {
|
||||
switch(request.message) {
|
||||
case "openConfig":
|
||||
chrome.runtime.openOptionsPage();
|
||||
return
|
||||
case "submitTimes":
|
||||
submitTimes(request.videoID, callback);
|
||||
|
||||
|
|
Loading…
Reference in a new issue