Fix broken "All Frames" option in api-samples/scripting (#1039)

Apparently a copy & paste error.
This commit is contained in:
Yury V. Zaytsev
2024-02-20 11:33:24 +01:00
committed by GitHub
parent 8a4c25dde6
commit 7a845d6af4

View File

@@ -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([