From 9896fc2388801f9534b843195554f219f850e211 Mon Sep 17 00:00:00 2001 From: Ankit Ahuja Date: Tue, 25 Jun 2013 17:48:00 -0700 Subject: [PATCH] Update browser action on install/reset --- stylebot/editor/chrome.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stylebot/editor/chrome.js b/stylebot/editor/chrome.js index 71d0ba7a..e5915348 100644 --- a/stylebot/editor/chrome.js +++ b/stylebot/editor/chrome.js @@ -239,6 +239,7 @@ chrome.extension.onRequest.addListener( request.title, request.css, request.timestamp); + stylebot.chrome.setBrowserAction(false); } else if (request.name === 'reset') { @@ -247,6 +248,7 @@ chrome.extension.onRequest.addListener( } stylebot.style.resetAllCSS(true); + stylebot.chrome.setBrowserAction(false); } } );