Close #168
This commit is contained in:
parent
ba53df6d22
commit
dde6658610
@ -3394,7 +3394,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
a = PostHiding.makeButton(post, 'show');
|
a = PostHiding.makeButton(post, 'show');
|
||||||
postInfo = Conf['Anonymize'] ? 'Anonymous' : post.info.name;
|
postInfo = Conf['Anonymize'] ? 'Anonymous' : $('.nameBlock', post.nodes.info).textContent;
|
||||||
$.add(a, $.tn(" " + postInfo));
|
$.add(a, $.tn(" " + postInfo));
|
||||||
post.nodes.stub = $.el('div', {
|
post.nodes.stub = $.el('div', {
|
||||||
className: 'stub'
|
className: 'stub'
|
||||||
@ -3742,7 +3742,7 @@
|
|||||||
}
|
}
|
||||||
numReplies = ((span = $('.summary', threadRoot)) ? +span.textContent.match(/\d+/) : 0) + $$('.opContainer ~ .replyContainer', threadRoot).length;
|
numReplies = ((span = $('.summary', threadRoot)) ? +span.textContent.match(/\d+/) : 0) + $$('.opContainer ~ .replyContainer', threadRoot).length;
|
||||||
numReplies = numReplies === 1 ? '1 reply' : "" + (numReplies || 'No') + " replies";
|
numReplies = numReplies === 1 ? '1 reply' : "" + (numReplies || 'No') + " replies";
|
||||||
opInfo = Conf['Anonymize'] ? 'Anonymous' : OP.info.name;
|
opInfo = Conf['Anonymize'] ? 'Anonymous' : $('.nameBlock', OP.nodes.info).textContent;
|
||||||
a = ThreadHiding.makeButton(thread, 'show');
|
a = ThreadHiding.makeButton(thread, 'show');
|
||||||
$.add(a, $.tn(" " + opInfo + " (" + numReplies + ")"));
|
$.add(a, $.tn(" " + opInfo + " (" + numReplies + ")"));
|
||||||
thread.stub = $.el('div', {
|
thread.stub = $.el('div', {
|
||||||
|
|||||||
@ -3401,7 +3401,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
a = PostHiding.makeButton(post, 'show');
|
a = PostHiding.makeButton(post, 'show');
|
||||||
postInfo = Conf['Anonymize'] ? 'Anonymous' : post.info.name;
|
postInfo = Conf['Anonymize'] ? 'Anonymous' : $('.nameBlock', post.nodes.info).textContent;
|
||||||
$.add(a, $.tn(" " + postInfo));
|
$.add(a, $.tn(" " + postInfo));
|
||||||
post.nodes.stub = $.el('div', {
|
post.nodes.stub = $.el('div', {
|
||||||
className: 'stub'
|
className: 'stub'
|
||||||
@ -3749,7 +3749,7 @@
|
|||||||
}
|
}
|
||||||
numReplies = ((span = $('.summary', threadRoot)) ? +span.textContent.match(/\d+/) : 0) + $$('.opContainer ~ .replyContainer', threadRoot).length;
|
numReplies = ((span = $('.summary', threadRoot)) ? +span.textContent.match(/\d+/) : 0) + $$('.opContainer ~ .replyContainer', threadRoot).length;
|
||||||
numReplies = numReplies === 1 ? '1 reply' : "" + (numReplies || 'No') + " replies";
|
numReplies = numReplies === 1 ? '1 reply' : "" + (numReplies || 'No') + " replies";
|
||||||
opInfo = Conf['Anonymize'] ? 'Anonymous' : OP.info.name;
|
opInfo = Conf['Anonymize'] ? 'Anonymous' : $('.nameBlock', OP.nodes.info).textContent;
|
||||||
a = ThreadHiding.makeButton(thread, 'show');
|
a = ThreadHiding.makeButton(thread, 'show');
|
||||||
$.add(a, $.tn(" " + opInfo + " (" + numReplies + ")"));
|
$.add(a, $.tn(" " + opInfo + " (" + numReplies + ")"));
|
||||||
thread.stub = $.el('div', {
|
thread.stub = $.el('div', {
|
||||||
|
|||||||
@ -182,7 +182,7 @@ PostHiding =
|
|||||||
if Conf['Anonymize']
|
if Conf['Anonymize']
|
||||||
'Anonymous'
|
'Anonymous'
|
||||||
else
|
else
|
||||||
post.info.name
|
$('.nameBlock', post.nodes.info).textContent
|
||||||
$.add a, $.tn " #{postInfo}"
|
$.add a, $.tn " #{postInfo}"
|
||||||
post.nodes.stub = $.el 'div',
|
post.nodes.stub = $.el 'div',
|
||||||
className: 'stub'
|
className: 'stub'
|
||||||
|
|||||||
@ -185,7 +185,7 @@ ThreadHiding =
|
|||||||
if Conf['Anonymize']
|
if Conf['Anonymize']
|
||||||
'Anonymous'
|
'Anonymous'
|
||||||
else
|
else
|
||||||
OP.info.name
|
$('.nameBlock', OP.nodes.info).textContent
|
||||||
|
|
||||||
a = ThreadHiding.makeButton thread, 'show'
|
a = ThreadHiding.makeButton thread, 'show'
|
||||||
$.add a, $.tn " #{opInfo} (#{numReplies})"
|
$.add a, $.tn " #{opInfo} (#{numReplies})"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user