Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mymindstorm committed Jun 29, 2024
1 parent 9d93809 commit cc5d11f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"util": "^0.12.5",
"vue-loader": "^15.10.1",
"vue-svg-loader": "^0.16.0",
"vue-template-compiler": "^2.7.0",
"vue-template-compiler": "^2.7.16",
"webpack": "^5.11.0",
"webpack-cli": "^5.0.0",
"webpack-merge": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Popup/AddMethodPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default Vue.extend({
// Insert content script
const tab = await getCurrentTab();
if (okToInjectContentScript(tab.id)) {
if (okToInjectContentScript(tab)) {
await chrome.scripting.executeScript({
target: { tabId: tab.id },
files: ["/dist/content.js"],
Expand Down
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 (okToInjectContentScript(tab.id)) {
if (okToInjectContentScript(tab)) {
await chrome.scripting.executeScript({
target: { tabId: tab.id },
files: ["/dist/content.js"],
Expand Down

0 comments on commit cc5d11f

Please sign in to comment.