From 4e679595e509351d86659c2697924b28664e8049 Mon Sep 17 00:00:00 2001 From: Eran Date: Wed, 10 Sep 2014 10:31:18 -0400 Subject: [PATCH] Remove useless state boolean --- src/lib/brain.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/brain.js b/src/lib/brain.js index 4c5474f..3d0ca36 100644 --- a/src/lib/brain.js +++ b/src/lib/brain.js @@ -1,7 +1,5 @@ var wpAdminHide = { - active: false, - /* * Adds a domain name to localStorage */ @@ -71,8 +69,6 @@ var wpAdminHide = { "19": "img/icon19_1.png", "38": "img/icon38_1.png" } - }, function() { - this.active = true; }); } else { chrome.browserAction.setIcon({ @@ -80,8 +76,6 @@ var wpAdminHide = { "19": "img/icon19_0.png", "38": "img/icon38_0.png" } - }, function() { - this.active = false; }); } }