Fix #878, 880
This commit is contained in:
parent
9bccd62148
commit
669147f4be
@ -4296,7 +4296,7 @@
|
|||||||
if (post.isInlined && !post.isCrosspost) {
|
if (post.isInlined && !post.isCrosspost) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_ref = $$('.quote.deadlink', post.blockquote);
|
_ref = $$('.deadlink', post.blockquote);
|
||||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||||
deadlink = _ref[_i];
|
deadlink = _ref[_i];
|
||||||
if (deadlink.parentNode.className === 'prettyprint') {
|
if (deadlink.parentNode.className === 'prettyprint') {
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
master
|
master
|
||||||
|
- Mayhem
|
||||||
|
Fix dead quotes.
|
||||||
|
|
||||||
2.37.1
|
2.37.1
|
||||||
- noface
|
- noface
|
||||||
|
|||||||
@ -3517,7 +3517,7 @@ Quotify =
|
|||||||
Main.callbacks.push @node
|
Main.callbacks.push @node
|
||||||
node: (post) ->
|
node: (post) ->
|
||||||
return if post.isInlined and not post.isCrosspost
|
return if post.isInlined and not post.isCrosspost
|
||||||
for deadlink in $$ '.quote.deadlink', post.blockquote
|
for deadlink in $$ '.deadlink', post.blockquote
|
||||||
|
|
||||||
if deadlink.parentNode.className is 'prettyprint'
|
if deadlink.parentNode.className is 'prettyprint'
|
||||||
$.replace deadlink, Array::slice.call deadlink.childNodes
|
$.replace deadlink, Array::slice.call deadlink.childNodes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user