Skip to content

Commit

Permalink
Merge pull request #1219 from Authenticator-Extension/revert-1213-fix…
Browse files Browse the repository at this point in the history
…-error

Revert "fix: fix error on chrome extensions page"
  • Loading branch information
mymindstorm authored Jun 29, 2024
2 parents 17a3840 + 2e8788e commit 590ac65
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 590ac65

Please sign in to comment.