Oops, fix 404 favicon.

This commit is contained in:
Nicolas Stepien 2013-02-23 18:43:23 +01:00
parent 67b05f6757
commit e3765121b0
2 changed files with 6 additions and 2 deletions

View File

@ -5010,7 +5010,9 @@
return Unread.update();
},
onUpdate: function(e) {
if (!e.detail[404]) {
if (e.detail[404]) {
return Unread.update();
} else {
return Unread.addPosts(e.detail.newPosts);
}
},

View File

@ -3330,7 +3330,9 @@ Unread =
Unread.update()
onUpdate: (e) ->
unless e.detail[404]
if e.detail[404]
Unread.update()
else
Unread.addPosts e.detail.newPosts
post: (e) ->