Permalink
Browse files

Do not write anything on favicon if label is not defined.

  • Loading branch information...
1 parent 378a55b commit b3ecaf33bedf2038c5f98e1a7d244608de891073 Powder96 committed Jul 31, 2012
Showing with 9 additions and 2 deletions.
  1. +2 −1 tinycon.js
  2. +7 −1 tinycon.min.js
View
@@ -235,7 +235,8 @@
return this;
};
- Tinycon.setBubble = function(label, colour){
+ Tinycon.setBubble = function(label, colour) {
+ label = label || '';
drawFavicon(label, colour);
return this;
};
View
Oops, something went wrong.

0 comments on commit b3ecaf3

Please sign in to comment.