Add a class to td.doubledash to help userstylers.
This commit is contained in:
parent
f7befc71e6
commit
9bffe59a43
@ -607,6 +607,7 @@
|
|||||||
if (!(dd = $('td.doubledash', root))) {
|
if (!(dd = $('td.doubledash', root))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
$.addClass(dd, 'replyhider');
|
||||||
a = $.el('a', {
|
a = $.el('a', {
|
||||||
textContent: '[ - ]'
|
textContent: '[ - ]'
|
||||||
});
|
});
|
||||||
|
|||||||
@ -430,6 +430,7 @@ replyHiding =
|
|||||||
|
|
||||||
node: (root) ->
|
node: (root) ->
|
||||||
return unless dd = $ 'td.doubledash', root
|
return unless dd = $ 'td.doubledash', root
|
||||||
|
$.addClass dd, 'replyhider'
|
||||||
a = $.el 'a',
|
a = $.el 'a',
|
||||||
textContent: '[ - ]'
|
textContent: '[ - ]'
|
||||||
$.bind a, 'click', replyHiding.cb.hide
|
$.bind a, 'click', replyHiding.cb.hide
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user