Skip to content

Commit

Permalink
Fix script injecting on Safari for iOS (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy authored Aug 26, 2023
1 parent 457da6e commit f77bfe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export async function insertCSS(
target: {
tabId,
frameIds: arrayOrUndefined(frameId),
allFrames,
allFrames: frameId === undefined ? allFrames : undefined,
},
files: 'file' in content ? [content.file] : undefined,
css: 'code' in content ? content.code : undefined,
Expand Down Expand Up @@ -170,7 +170,7 @@ export async function executeScript(
target: {
tabId,
frameIds: arrayOrUndefined(frameId),
allFrames,
allFrames: frameId === undefined ? allFrames : undefined,
},
files: normalizedFiles.map(({file}) => file),
});
Expand Down

0 comments on commit f77bfe5

Please sign in to comment.