Replace deprecated method

Close #2047
This commit is contained in:
Carlos Marin
2021-05-18 14:36:29 -03:00
parent 4b56a2f0bb
commit 4e4ed390e0
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -698,7 +698,7 @@ window.assignManager = {
reloadPageInContainer(url, currentUserContextId, userContextId, index, active, neverAsk = false, openerTabId = null) {
const cookieStoreId = backgroundLogic.cookieStoreId(userContextId);
const loadPage = browser.extension.getURL("confirm-page.html");
const loadPage = browser.runtime.getURL("confirm-page.html");
// False represents assignment is not permitted
// If the user has explicitly checked "Never Ask Again" on the warning page we will send them straight there
if (neverAsk) {