mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
explicitly pass null as arg 1 to executeScript
This commit is contained in:
@@ -19,7 +19,7 @@ document.addEventListener("click", function(e) {
|
||||
|
||||
var chosenBeast = e.target.textContent;
|
||||
|
||||
chrome.tabs.executeScript({
|
||||
chrome.tabs.executeScript(null, {
|
||||
file: "content_scripts/beastify.js"
|
||||
}, setBeast);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user