Fix trip in stubs when the tripcode is inside a mail anchor.

This commit is contained in:
Nicolas Stepien 2012-03-11 22:17:30 +01:00
parent 97bc32eefa
commit f30eb62558
2 changed files with 6 additions and 6 deletions

View File

@ -917,9 +917,9 @@
if (table.hidden) return;
table.hidden = true;
if (!conf['Show Stubs']) return;
name = $('td[id] > .commentpostername', table).textContent;
uid = ((_ref = $('td[id] > .posteruid', table)) != null ? _ref.textContent : void 0) || '';
trip = ((_ref2 = $('td[id] > .postertrip', table)) != null ? _ref2.textContent : void 0) || '';
name = $('.commentpostername', table).textContent;
uid = ((_ref = $('.posteruid', table)) != null ? _ref.textContent : void 0) || '';
trip = ((_ref2 = $('.postertrip', table)) != null ? _ref2.textContent : void 0) || '';
div = $.el('div', {
className: 'stub',
innerHTML: "<a href=javascript:;><span>[ + ]</span> " + name + " " + uid + " " + trip + "</a>"

View File

@ -778,9 +778,9 @@ ReplyHiding =
return unless conf['Show Stubs']
name = $('td[id] > .commentpostername', table).textContent
uid = $('td[id] > .posteruid', table)?.textContent or ''
trip = $('td[id] > .postertrip', table)?.textContent or ''
name = $('.commentpostername', table).textContent
uid = $('.posteruid', table)?.textContent or ''
trip = $('.postertrip', table)?.textContent or ''
div = $.el 'div',
className: 'stub'