1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Deprecated function removed

This commit is contained in:
nobody
2021-04-11 08:03:42 +02:00
parent 95f4f6dc6b
commit c79e1c02a7
3 changed files with 10 additions and 10 deletions

View File

@ -85,7 +85,7 @@ main._showReleaseNotes = function (details) {
}, function () {
if (details.temporary !== true) {
chrome.tabs.create({
'url': chrome.extension.getURL('pages/welcome/welcome.html'),
'url': chrome.runtime.getURL('pages/welcome/welcome.html'),
'active': true
});
}
@ -111,7 +111,7 @@ main._showReleaseNotes = function (details) {
if ((mappingUpdate && items.updateNotification === 1) || items.updateNotification === 2) {
chrome.tabs.create({
'url': chrome.extension.getURL(`pages/updates/updates.html?mappingupdate=${mappingUpdate}`),
'url': chrome.runtime.getURL(`pages/updates/updates.html?mappingupdate=${mappingUpdate}`),
'active': false
});
} else {