Merge branch 'v3'
This commit is contained in:
commit
ceda2f034f
@ -7907,7 +7907,8 @@
|
|||||||
if (Conf['Unread Line']) {
|
if (Conf['Unread Line']) {
|
||||||
Unread.setLine(posts.contains(Unread.posts[0]));
|
Unread.setLine(posts.contains(Unread.posts[0]));
|
||||||
}
|
}
|
||||||
return Unread.read();
|
Unread.read();
|
||||||
|
return Unread.update();
|
||||||
},
|
},
|
||||||
addPostQuotingYou: function(post) {
|
addPostQuotingYou: function(post) {
|
||||||
var quotelink, _i, _len, _ref;
|
var quotelink, _i, _len, _ref;
|
||||||
@ -7957,7 +7958,7 @@
|
|||||||
}
|
}
|
||||||
return arr.splice(0, i);
|
return arr.splice(0, i);
|
||||||
},
|
},
|
||||||
read: $.debounce(50, function() {
|
read: $.debounce(50, function(e) {
|
||||||
var ID, bottom, height, i, post, posts;
|
var ID, bottom, height, i, post, posts;
|
||||||
|
|
||||||
if (d.hidden || !Unread.posts.length) {
|
if (d.hidden || !Unread.posts.length) {
|
||||||
@ -7994,7 +7995,9 @@
|
|||||||
}
|
}
|
||||||
Unread.saveLastReadPost();
|
Unread.saveLastReadPost();
|
||||||
Unread.readArray(Unread.postsQuotingYou);
|
Unread.readArray(Unread.postsQuotingYou);
|
||||||
return Unread.update();
|
if (e) {
|
||||||
|
return Unread.update();
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
saveLastReadPost: $.debounce(2 * $.SECOND, function() {
|
saveLastReadPost: $.debounce(2 * $.SECOND, function() {
|
||||||
if (Unread.thread.isDead) {
|
if (Unread.thread.isDead) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user