Skip to content

Commit 503a78e

Browse files
authored
update pin list on extension removal
1 parent c87e7bd commit 503a78e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/addons/addons/block-pins/userscript.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ export default async function({ addon }) {
280280
if (!autoLoadExtPins) vm.runtime.on("EXTENSION_ADDED", () => {
281281
populateInit = 2;
282282
});
283+
vm.runtime.on("EXTENSION_REMOVED", () => {
284+
populateInit = 2;
285+
});
283286
addon.self.addEventListener("disabled", () => {
284287
localStorage.removeItem("ADDONS_BLOCK-PINS");
285288
});

0 commit comments

Comments
 (0)