Skip to content

Commit

Permalink
Remove useless state boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
EranSch committed Sep 10, 2014
1 parent 9d5f0b1 commit 4e67959
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/lib/brain.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
var wpAdminHide = {

active: false,

/*
* Adds a domain name to localStorage
*/
Expand Down Expand Up @@ -71,17 +69,13 @@ var wpAdminHide = {
"19": "img/icon19_1.png",
"38": "img/icon38_1.png"
}
}, function() {
this.active = true;
});
} else {
chrome.browserAction.setIcon({
path: {
"19": "img/icon19_0.png",
"38": "img/icon38_0.png"
}
}, function() {
this.active = false;
});
}
}
Expand Down

0 comments on commit 4e67959

Please sign in to comment.