Remove console.log, add JS comment

This commit is contained in:
Maxx Crawford 2021-09-29 14:56:17 -05:00
parent df34d8fac7
commit 82e9a72235
No known key found for this signature in database
GPG key ID: 71DBD3273B65FEF9

View file

@ -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");
} }