Skip to content

Commit

Permalink
Update browser action on install/reset
Browse files Browse the repository at this point in the history
  • Loading branch information
ankit committed Jun 26, 2013
1 parent 874bb2d commit 9896fc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stylebot/editor/chrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ chrome.extension.onRequest.addListener(
request.title,
request.css,
request.timestamp);
stylebot.chrome.setBrowserAction(false);
}

else if (request.name === 'reset') {
Expand All @@ -247,6 +248,7 @@ chrome.extension.onRequest.addListener(
}

stylebot.style.resetAllCSS(true);
stylebot.chrome.setBrowserAction(false);
}
}
);

0 comments on commit 9896fc2

Please sign in to comment.