Make URL argument absolute (#154)

This commit is contained in:
wbamberg
2016-12-07 15:56:43 -10:00
committed by GitHub
parent af504033f2
commit 24a86946fe

View File

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