Remove console.log, add JS comment
This commit is contained in:
parent
df34d8fac7
commit
82e9a72235
1 changed files with 2 additions and 2 deletions
|
@ -1428,12 +1428,12 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
|
||||||
iconInput.checked = iconInput.value === identity.icon;
|
iconInput.checked = iconInput.value === identity.icon;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Query if user has proxy permissions.
|
||||||
|
// If so, we want to show the custom proxy settings options for the container:
|
||||||
const hasProxyPermission = await browser.runtime.sendMessage({
|
const hasProxyPermission = await browser.runtime.sendMessage({
|
||||||
method: "proxyPermissionCheck",
|
method: "proxyPermissionCheck",
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log("hasProxyPermission: ", hasProxyPermission);
|
|
||||||
|
|
||||||
if (hasProxyPermission) {
|
if (hasProxyPermission) {
|
||||||
document.querySelector(".proxy-container-settings").classList.remove("is-hidden");
|
document.querySelector(".proxy-container-settings").classList.remove("is-hidden");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue