Unread favicon reset fix.
This commit is contained in:
parent
d851ecce2d
commit
69c69fe91b
@ -973,7 +973,7 @@
|
|||||||
break;
|
break;
|
||||||
case Conf.unreadCountTo0:
|
case Conf.unreadCountTo0:
|
||||||
Unread.replies = [];
|
Unread.replies = [];
|
||||||
Unread.update();
|
Unread.update(true);
|
||||||
break;
|
break;
|
||||||
case Conf.expandImage:
|
case Conf.expandImage:
|
||||||
Keybinds.img(thread);
|
Keybinds.img(thread);
|
||||||
@ -3136,7 +3136,7 @@
|
|||||||
inline = QuoteInline.table(id, el.innerHTML);
|
inline = QuoteInline.table(id, el.innerHTML);
|
||||||
if ((i = Unread.replies.indexOf(el.parentNode.parentNode.parentNode)) !== -1) {
|
if ((i = Unread.replies.indexOf(el.parentNode.parentNode.parentNode)) !== -1) {
|
||||||
Unread.replies.splice(i, 1);
|
Unread.replies.splice(i, 1);
|
||||||
Unread.update();
|
Unread.update(true);
|
||||||
}
|
}
|
||||||
if (/\bbacklink\b/.test(q.className)) {
|
if (/\bbacklink\b/.test(q.className)) {
|
||||||
$.after(q.parentNode, inline);
|
$.after(q.parentNode, inline);
|
||||||
|
|||||||
@ -831,7 +831,7 @@ Keybinds =
|
|||||||
Updater.update()
|
Updater.update()
|
||||||
when Conf.unreadCountTo0
|
when Conf.unreadCountTo0
|
||||||
Unread.replies = []
|
Unread.replies = []
|
||||||
Unread.update()
|
Unread.update true
|
||||||
# Images
|
# Images
|
||||||
when Conf.expandImage
|
when Conf.expandImage
|
||||||
Keybinds.img thread
|
Keybinds.img thread
|
||||||
@ -2606,7 +2606,7 @@ QuoteInline =
|
|||||||
inline = QuoteInline.table id, el.innerHTML
|
inline = QuoteInline.table id, el.innerHTML
|
||||||
if (i = Unread.replies.indexOf el.parentNode.parentNode.parentNode) isnt -1
|
if (i = Unread.replies.indexOf el.parentNode.parentNode.parentNode) isnt -1
|
||||||
Unread.replies.splice i, 1
|
Unread.replies.splice i, 1
|
||||||
Unread.update()
|
Unread.update true
|
||||||
if /\bbacklink\b/.test q.className
|
if /\bbacklink\b/.test q.className
|
||||||
$.after q.parentNode, inline
|
$.after q.parentNode, inline
|
||||||
if Conf['Forward Hiding']
|
if Conf['Forward Hiding']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user