Skip to content

Commit

Permalink
Fix broken "All Frames" option in api-samples/scripting (GoogleChrome…
Browse files Browse the repository at this point in the history
…#1039)

Apparently a copy & paste error.
  • Loading branch information
zyv authored Feb 20, 2024
1 parent 8a4c25d commit 7a845d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api-samples/scripting/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ document
const matches = document.querySelector("[name='matches']").value;
const runAt = document.querySelector("[name='run-at']").value;
const allFrames =
document.querySelector("[name='persist']").value === 'yes';
document.querySelector("[name='all-frames']").value === 'yes';
const world = document.querySelector("[name='world']").value;

await chrome.scripting.registerContentScripts([
Expand Down

0 comments on commit 7a845d6

Please sign in to comment.