Skip to content

Commit 4f91ba0

Browse files
committed
Remove obsolete displayPageAction
1 parent cb00565 commit 4f91ba0

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

chromium/background.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,6 @@ for (r in rs) {
4040
}
4141
*/
4242

43-
// Add the HTTPS Everywhere icon to the URL address bar.
44-
// TODO: Switch from pageAction to browserAction?
45-
function displayPageAction(tabId) {
46-
if (tabId !== -1) {
47-
chrome.tabs.get(tabId, function(tab) {
48-
if(typeof(tab) === "undefined") {
49-
log(DBUG, "Not a real tab. Skipping showing pageAction.");
50-
}
51-
else {
52-
chrome.pageAction.show(tabId);
53-
}
54-
});
55-
}
56-
}
57-
5843

5944
var addNewRule = function(params, cb) {
6045
if (all_rules.addUserRule(params)) {

0 commit comments

Comments
 (0)