Restore the hr at the bottom of threads

This commit is contained in:
Zixaphir 2014-01-11 12:51:14 -07:00
parent b3c33bb39b
commit 6bafef092b
4 changed files with 6 additions and 6 deletions

View File

@ -830,7 +830,7 @@
}; };
Callbacks.prototype.connect = function(name) { Callbacks.prototype.connect = function(name) {
if (this[name]) { if (this[name].disconnected) {
return delete this[name].disconnected; return delete this[name].disconnected;
} }
}; };
@ -12228,7 +12228,7 @@
var board; var board;
board = $('.board'); board = $('.board');
$.rmAll(board); $.rmAll(board);
$.add(board, Navigate.threadRoot); $.add(board, [Navigate.threadRoot, $.el('hr')]);
if (Conf['Unread Count']) { if (Conf['Unread Count']) {
Navigate.ready('Unread Count', Unread.ready, !Conf['Quote Threading']); Navigate.ready('Unread Count', Unread.ready, !Conf['Quote Threading']);
Unread.read(); Unread.read();

View File

@ -835,7 +835,7 @@
}; };
Callbacks.prototype.connect = function(name) { Callbacks.prototype.connect = function(name) {
if (this[name]) { if (this[name].disconnected) {
return delete this[name].disconnected; return delete this[name].disconnected;
} }
}; };
@ -12217,7 +12217,7 @@
var board; var board;
board = $('.board'); board = $('.board');
$.rmAll(board); $.rmAll(board);
$.add(board, Navigate.threadRoot); $.add(board, [Navigate.threadRoot, $.el('hr')]);
if (Conf['Unread Count']) { if (Conf['Unread Count']) {
Navigate.ready('Unread Count', Unread.ready, !Conf['Quote Threading']); Navigate.ready('Unread Count', Unread.ready, !Conf['Quote Threading']);
Unread.read(); Unread.read();

View File

@ -281,7 +281,7 @@ Navigate =
buildThread: -> buildThread: ->
board = $ '.board' board = $ '.board'
$.rmAll board $.rmAll board
$.add board, Navigate.threadRoot $.add board, [Navigate.threadRoot, $.el 'hr']
if Conf['Unread Count'] if Conf['Unread Count']
Navigate.ready 'Unread Count', Unread.ready, not Conf['Quote Threading'] Navigate.ready 'Unread Count', Unread.ready, not Conf['Quote Threading']

View File

@ -7,7 +7,7 @@ class Callbacks
@keys.push name unless @[name] @keys.push name unless @[name]
@[name] = cb @[name] = cb
connect: (name) -> delete @[name].disconnected if @[name] connect: (name) -> delete @[name].disconnected if @[name].disconnected
disconnect: (name) -> @[name].disconnected = true if @[name] disconnect: (name) -> @[name].disconnected = true if @[name]
execute: (node) -> execute: (node) ->