Verified Commit 0ad41975 authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Replace calls to deprecated function

parent 02b8edea
......@@ -71,7 +71,7 @@ interceptor.handleRequest = function (requestDetails, tabIdentifier, tab) {
};
return {
'redirectUrl': chrome.extension.getURL(targetPath + fileGuard.secret)
'redirectUrl': chrome.runtime.getURL(targetPath + fileGuard.secret)
};
};
......
......@@ -56,7 +56,7 @@ main._showReleaseNotes = function (details) {
let location, previousVersion, setting;
location = chrome.extension.getURL('pages/welcome/welcome.html');
location = chrome.runtime.getURL('pages/welcome/welcome.html');
if (details.reason === chrome.runtime.OnInstalledReason.INSTALL ||
details.reason === chrome.runtime.OnInstalledReason.UPDATE) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment