Skip to content

Commit

Permalink
Remove unnecessary listener
Browse files Browse the repository at this point in the history
  • Loading branch information
Lootyhoof committed Jun 21, 2018
1 parent 1cd5b1a commit 22345ab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions content/install-frame-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ addMessageListener("stylish:style-can-be-updated", function(message) {
content.document.addEventListener("stylishUpdateChrome", updateFromSite);
});

addMessageListener("stylish:installed", function(message) {
dispatchEvent("StylishInstalled");
});
// tell USo that we're here
dispatchEvent("StylishInstalled");

function updateFromSite(event) {
var doc = event.originalTarget;
Expand Down

0 comments on commit 22345ab

Please sign in to comment.