Skip to content

Commit

Permalink
fix reset method
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Feb 18, 2014
1 parent ca5e304 commit 06da017
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion favico-0.3.4.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions favico.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@
*/
icon.reset = function() {
//reset
if (!_ready) {
return;
}
_queue = [];
_lastBadge = false;
_context.clearRect(0, 0, _w, _h);
Expand Down

0 comments on commit 06da017

Please sign in to comment.