Remove console logs

This commit is contained in:
Lawrence Hook
2022-09-05 20:41:32 -04:00
parent 834498c161
commit 7458dd34b1
-7
View File
@@ -14,14 +14,7 @@ browser.runtime.onInstalled.addListener(object => {
// Change the browserAction icon if the extension is disabled
browser.storage.onChanged.addListener((changes, area) => {
console.log(`Change in storage area: ${area}`);
const changedItems = Object.keys(changes);
for (const item of changedItems) {
console.log(`${item} has changed:`);
console.log("Old value: ", changes[item].oldValue);
console.log("New value: ", changes[item].newValue);
if (item === 'global_enable') {
if (changes[item].newValue === false) {
browser.browserAction.setIcon({