Fix issue #152: no need to use getURL (#153)

This commit is contained in:
wbamberg
2016-12-07 15:32:46 -10:00
committed by GitHub
parent 8638cd7698
commit af504033f2

View File

@@ -4,7 +4,7 @@ Open a new tab, and load "my-page.html" into it.
function openMyPage() { function openMyPage() {
console.log("injecting"); console.log("injecting");
browser.tabs.create({ browser.tabs.create({
"url": chrome.extension.getURL("my-page.html") "url": "my-page.html"
}); });
} }