Oops, fix 404 favicon.
This commit is contained in:
parent
67b05f6757
commit
e3765121b0
@ -5010,7 +5010,9 @@
|
|||||||
return Unread.update();
|
return Unread.update();
|
||||||
},
|
},
|
||||||
onUpdate: function(e) {
|
onUpdate: function(e) {
|
||||||
if (!e.detail[404]) {
|
if (e.detail[404]) {
|
||||||
|
return Unread.update();
|
||||||
|
} else {
|
||||||
return Unread.addPosts(e.detail.newPosts);
|
return Unread.addPosts(e.detail.newPosts);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -3330,7 +3330,9 @@ Unread =
|
|||||||
Unread.update()
|
Unread.update()
|
||||||
|
|
||||||
onUpdate: (e) ->
|
onUpdate: (e) ->
|
||||||
unless e.detail[404]
|
if e.detail[404]
|
||||||
|
Unread.update()
|
||||||
|
else
|
||||||
Unread.addPosts e.detail.newPosts
|
Unread.addPosts e.detail.newPosts
|
||||||
|
|
||||||
post: (e) ->
|
post: (e) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user