keep the existing colour scheme

pull/21833/head
Matthew Hodgson 2016-03-16 18:58:04 +00:00
parent 6016ba70d9
commit 74acc0b564
1 changed files with 2 additions and 2 deletions

View File

@ -939,12 +939,12 @@ module.exports = React.createClass({
// This needs to be in in a try block as it will throw
// if there are more than 100 badge count changes in
// its internal queue
var bgColor = "#0d0",
var bgColor = "#d00",
notif = notifCount;
if(state === "ERROR") {
notif = notif || "×";
bgColor = "#d00";
bgColor = "#f00";
}
this.favicon.badge(notif, {