Skip to content

Commit

Permalink
Revert "fix: fix error on chrome extensions page"
Browse files Browse the repository at this point in the history
  • Loading branch information
mymindstorm authored Jun 29, 2024
1 parent 17a3840 commit 2e8788e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Popup/MainHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export default Vue.extend({
const tab = await getCurrentTab();
// Insert content script
if (tab.id && !tab.url?.startsWith("chrome:")) {
if (tab.id) {
await chrome.scripting.executeScript({
target: { tabId: tab.id },
files: ["/dist/content.js"],
Expand Down

0 comments on commit 2e8788e

Please sign in to comment.