This commit is contained in:
Nicolas Stepien 2012-07-13 23:30:21 +02:00
parent 89431fa321
commit d2a68c2be0
2 changed files with 4 additions and 4 deletions

View File

@ -1062,7 +1062,7 @@
}
num += $$('.opContainer ~ .replyContainer', thread).length;
text = num === 1 ? '1 reply' : "" + num + " replies";
opInfo = $('.op > .postInfo > .nameBlock', thread).textContent;
opInfo = $('.desktop > .nameBlock', thread).textContent;
stub = $.el('div', {
className: 'hide_thread_button hidden_thread',
innerHTML: '<a href="javascript:;"><span>[ + ]</span> </a>'
@ -1148,7 +1148,7 @@
});
a = stub.firstChild;
$.on(a, 'click', ReplyHiding.toggle);
$.add(a, $.tn($('.nameBlock', el).textContent));
$.add(a, $.tn($('.desktop > .nameBlock', el).textContent));
if (Conf['Menu']) {
menuButton = Menu.a.cloneNode(true);
$.on(menuButton, 'click', Menu.toggle);

View File

@ -853,7 +853,7 @@ ThreadHiding =
num = Number span.textContent.match /\d+/
num += $$('.opContainer ~ .replyContainer', thread).length
text = if num is 1 then '1 reply' else "#{num} replies"
opInfo = $('.op > .postInfo > .nameBlock', thread).textContent
opInfo = $('.desktop > .nameBlock', thread).textContent
stub = $.el 'div',
className: 'hide_thread_button hidden_thread'
@ -918,7 +918,7 @@ ReplyHiding =
innerHTML: '<a href="javascript:;"><span>[ + ]</span> </a>'
a = stub.firstChild
$.on a, 'click', ReplyHiding.toggle
$.add a, $.tn $('.nameBlock', el).textContent
$.add a, $.tn $('.desktop > .nameBlock', el).textContent
if Conf['Menu']
menuButton = Menu.a.cloneNode true
$.on menuButton, 'click', Menu.toggle