Skip to content

Commit

Permalink
Fix CI error
Browse files Browse the repository at this point in the history
  • Loading branch information
wtetsu committed Aug 16, 2023
1 parent 9109275 commit 5c3979f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@ chrome.commands.onCommand.addListener((command) => {
case "scroll_down":
sendToActiveTab((tabId) => chrome.tabs.sendMessage(tabId, { message: { type: "scroll_down" } }));
break;
case "activate_extension":
chrome.scripting.executeScript({
target: { tabId: tab.id },
files: ["main.js"],
});
break;
// Workaround for Vivaldi, but causes CI error (see #84)
// case "activate_extension":
// chrome.scripting.executeScript({
// target: { tabId: tab.id },
// files: ["main.js"],
// });
// break;
}
});

Expand Down

0 comments on commit 5c3979f

Please sign in to comment.