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;
|
if (table.hidden) return;
|
||||||
table.hidden = true;
|
table.hidden = true;
|
||||||
if (!conf['Show Stubs']) return;
|
if (!conf['Show Stubs']) return;
|
||||||
name = $('td[id] > .commentpostername', table).textContent;
|
name = $('.commentpostername', table).textContent;
|
||||||
uid = ((_ref = $('td[id] > .posteruid', table)) != null ? _ref.textContent : void 0) || '';
|
uid = ((_ref = $('.posteruid', table)) != null ? _ref.textContent : void 0) || '';
|
||||||
trip = ((_ref2 = $('td[id] > .postertrip', table)) != null ? _ref2.textContent : void 0) || '';
|
trip = ((_ref2 = $('.postertrip', table)) != null ? _ref2.textContent : void 0) || '';
|
||||||
div = $.el('div', {
|
div = $.el('div', {
|
||||||
className: 'stub',
|
className: 'stub',
|
||||||
innerHTML: "<a href=javascript:;><span>[ + ]</span> " + name + " " + uid + " " + trip + "</a>"
|
innerHTML: "<a href=javascript:;><span>[ + ]</span> " + name + " " + uid + " " + trip + "</a>"
|
||||||
|
|||||||
@ -778,9 +778,9 @@ ReplyHiding =
|
|||||||
|
|
||||||
return unless conf['Show Stubs']
|
return unless conf['Show Stubs']
|
||||||
|
|
||||||
name = $('td[id] > .commentpostername', table).textContent
|
name = $('.commentpostername', table).textContent
|
||||||
uid = $('td[id] > .posteruid', table)?.textContent or ''
|
uid = $('.posteruid', table)?.textContent or ''
|
||||||
trip = $('td[id] > .postertrip', table)?.textContent or ''
|
trip = $('.postertrip', table)?.textContent or ''
|
||||||
|
|
||||||
div = $.el 'div',
|
div = $.el 'div',
|
||||||
className: 'stub'
|
className: 'stub'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user