Permalink
Browse files

Clear the notification count correctly when set to zero

  • Loading branch information...
1 parent b1bf041 commit ff4f2deac89371e1f19dd09b279b8246ba520ca0 Michael Hanson committed Jun 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 modules/workerapi.js
View
@@ -160,6 +160,8 @@ workerAPI.prototype = {
}
if (data.counter) {
ani.setCounter(data.counter);
+ } else {
+ ani.setCounter(0);
}
if (data.contentPanel) {
ani.setContentPanel(data.contentPanel);

0 comments on commit ff4f2de

Please sign in to comment.