Corrections.

This commit is contained in:
noface 2012-12-15 13:55:43 +01:00
parent d155eed8d7
commit debd002aab
3 changed files with 5 additions and 5 deletions

View File

@ -4316,8 +4316,8 @@
_ref = $$('.quote.deadlink', post.blockquote); _ref = $$('.quote.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.parentElement.className === 'prettyprint') { if (deadlink.parentNode.className === 'prettyprint') {
$.replace(deadlink, deadlink.firstChild); $.replace(deadlink, Array.prototype.slice.call(deadlink.childNodes));
continue; continue;
} }
quote = deadlink.textContent; quote = deadlink.textContent;

View File

@ -1,11 +1,11 @@
master master
- noface - noface
Fix Anonymize not working on stubs. Fix Anonymize not working on stubs.
Fix deadquotes showing up in code-tags.
- Mayhem - Mayhem
Fix selection quoting on Opera. Fix selection quoting on Opera.
Fix history bug with Persistent QR enabled on Chrome. Fix history bug with Persistent QR enabled on Chrome.
Fix posting warning not displaying the reason. Fix posting warning not displaying the reason.
Fix deadquotes showing up in code-tags.
2.37.0 2.37.0
- noface - noface

View File

@ -3527,8 +3527,8 @@ Quotify =
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 $$ '.quote.deadlink', post.blockquote
if deadlink.parentElement.className is 'prettyprint' if deadlink.parentNode.className is 'prettyprint'
$.replace deadlink, deadlink.firstChild $.replace deadlink, Array::slice.call deadlink.childNodes
continue continue
quote = deadlink.textContent quote = deadlink.textContent