Skip to content
Snippets Groups Projects
Verified Commit 0ad41975 authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Replace calls to deprecated function

parent 02b8edea
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment