Skip to content

Commit f2d76fd

Browse files
authored
Changed to recreateTabList on extension reload (#67)
1 parent a559ae2 commit f2d76fd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/data/background.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,7 @@ chrome.runtime.onStartup.addListener(function (d) {
229229

230230
chrome.runtime.onInstalled.addListener(function (d) {
231231
cachedRules = {};
232-
233-
if (
234-
d.reason == "update" &&
235-
chrome.runtime.getManifest().version > d.previousVersion
236-
) {
237-
recreateTabList();
238-
}
232+
recreateTabList();
239233
});
240234

241235
// URL blocking

0 commit comments

Comments
 (0)