Skip to content

Commit

Permalink
Fix badge title after error fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFQC committed Mar 16, 2018
1 parent 161c627 commit 5cb7966
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ function update() {
throw new Error(response.statusText);
})
.then((notifications) => {
browser.browserAction.setTitle({
title: 'GitHub Notifier'
});
browser.browserAction.enable();

if (0 === notifications.length) {
Expand Down

0 comments on commit 5cb7966

Please sign in to comment.