Skip to content

Commit 0490e69

Browse files
committed
misc
1 parent 19dae69 commit 0490e69

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

#!inf.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474
"page": {
7575
"action": {
7676
"devtools/dist/page-action.js": {
77+
"icons": {
78+
"48": "./src/skin/Icon_48_disabled.png"
79+
},
7780
"code": {
7881
"gi0.PINF.it/build/v0 # /scripts/devtools/dist # /": {
7982
"@jsonrep # builder/v1": {

src/background.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,6 @@ LIB.browser.tabs.onActivated.addListener(function (activeInfo) {
125125
});
126126
// sync state when a tab status updates
127127
LIB.browser.tabs.onUpdated.addListener(syncPageActionState);
128-
// destroy sync state when tab closes
129-
LIB.browser.tabs.onRemoved.addListener(function (tabId) {
130-
delete pageActionState[tabId];
131-
});
132128

133129

134130

0 commit comments

Comments
 (0)