Fix trip in stubs when the tripcode is inside a mail anchor.
This commit is contained in:
parent
97bc32eefa
commit
f30eb62558
@ -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>"
|
||||
|
||||
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user