mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
Fix broken "All Frames" option in api-samples/scripting (#1039)
Apparently a copy & paste error.
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user