Lets not waste a perfectly good assignment.
This commit is contained in:
parent
ef34200fdb
commit
a980c540a9
@ -9581,7 +9581,7 @@
|
|||||||
if (ID <= Unread.lastReadPost || post.isHidden || QR.db.get({
|
if (ID <= Unread.lastReadPost || post.isHidden || QR.db.get({
|
||||||
boardID: post.board.ID,
|
boardID: post.board.ID,
|
||||||
threadID: post.thread.ID,
|
threadID: post.thread.ID,
|
||||||
postID: post.ID
|
postID: ID
|
||||||
})) {
|
})) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9564,7 +9564,7 @@
|
|||||||
if (ID <= Unread.lastReadPost || post.isHidden || QR.db.get({
|
if (ID <= Unread.lastReadPost || post.isHidden || QR.db.get({
|
||||||
boardID: post.board.ID,
|
boardID: post.board.ID,
|
||||||
threadID: post.thread.ID,
|
threadID: post.thread.ID,
|
||||||
postID: post.ID
|
postID: ID
|
||||||
})) {
|
})) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -73,7 +73,7 @@ Unread =
|
|||||||
continue if ID <= Unread.lastReadPost or post.isHidden or QR.db.get {
|
continue if ID <= Unread.lastReadPost or post.isHidden or QR.db.get {
|
||||||
boardID: post.board.ID
|
boardID: post.board.ID
|
||||||
threadID: post.thread.ID
|
threadID: post.thread.ID
|
||||||
postID: post.ID
|
postID: ID
|
||||||
}
|
}
|
||||||
Unread.posts.push post unless post.prev or post.next
|
Unread.posts.push post unless post.prev or post.next
|
||||||
Unread.addPostQuotingYou post
|
Unread.addPostQuotingYou post
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user