@ -> Unread.
This commit is contained in:
parent
39564417ba
commit
938ff38293
@ -20,7 +20,7 @@
|
||||
// @icon data:image/gif;base64,R0lGODlhEAAQAKECAAAAAGbMM////////yH5BAEKAAIALAAAAAAQABAAAAIxlI+pq+D9DAgUoFkPDlbs7lGiI2bSVnKglnJMOL6omczxVZK3dH/41AG6Lh7i6qUoAAA7
|
||||
// ==/UserScript==
|
||||
|
||||
/* 4chan X Beta - Version 3.0.0 - 2013-02-21
|
||||
/* 4chan X Beta - Version 3.0.0 - 2013-02-22
|
||||
* http://mayhemydg.github.com/4chan-x/
|
||||
*
|
||||
* Copyright (c) 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||
@ -4937,9 +4937,9 @@
|
||||
}
|
||||
Unread.addPosts(posts);
|
||||
Unread.update();
|
||||
$.on(d, 'ThreadUpdate', this.onUpdate);
|
||||
$.on(d, 'QRPostSuccessful', this.post);
|
||||
return $.on(d, 'scroll visibilitychange', this.read);
|
||||
$.on(d, 'ThreadUpdate', Unread.onUpdate);
|
||||
$.on(d, 'QRPostSuccessful', Unread.post);
|
||||
return $.on(d, 'scroll visibilitychange', Unread.read);
|
||||
},
|
||||
addPosts: function(newPosts) {
|
||||
var height, index, post, _i, _len;
|
||||
|
||||
@ -3299,9 +3299,9 @@ Unread =
|
||||
posts.push post if post.isReply
|
||||
Unread.addPosts posts
|
||||
Unread.update()
|
||||
$.on d, 'ThreadUpdate', @onUpdate
|
||||
$.on d, 'QRPostSuccessful', @post
|
||||
$.on d, 'scroll visibilitychange', @read
|
||||
$.on d, 'ThreadUpdate', Unread.onUpdate
|
||||
$.on d, 'QRPostSuccessful', Unread.post
|
||||
$.on d, 'scroll visibilitychange', Unread.read
|
||||
|
||||
addPosts: (newPosts) ->
|
||||
unless d.hidden
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user