Fix #668
This commit is contained in:
parent
f48f4c37a9
commit
7fb4c97611
@ -3799,6 +3799,9 @@
|
|||||||
_ref = post.quotes;
|
_ref = post.quotes;
|
||||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||||
quote = _ref[_i];
|
quote = _ref[_i];
|
||||||
|
if (quote.parentNode.getAttribute('style') === 'font-size: smaller;') {
|
||||||
|
break;
|
||||||
|
}
|
||||||
if (qid = quote.hash.slice(2)) {
|
if (qid = quote.hash.slice(2)) {
|
||||||
quotes[qid] = true;
|
quotes[qid] = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,6 +2,7 @@ master
|
|||||||
- Mayhem
|
- Mayhem
|
||||||
Fix cooldown on /q/.
|
Fix cooldown on /q/.
|
||||||
Fix thread creation with no file on /q/.
|
Fix thread creation with no file on /q/.
|
||||||
|
Fix 'Administrator/Moderator/Developer Replies' creating extra backlinks on /q/.
|
||||||
Add /mlp/ archive redirection.
|
Add /mlp/ archive redirection.
|
||||||
|
|
||||||
2.34.4
|
2.34.4
|
||||||
|
|||||||
@ -3021,6 +3021,8 @@ QuoteBacklink =
|
|||||||
return if post.isInlined
|
return if post.isInlined
|
||||||
quotes = {}
|
quotes = {}
|
||||||
for quote in post.quotes
|
for quote in post.quotes
|
||||||
|
# Stop at 'Admin/Mod/Dev Replies:' on /q/
|
||||||
|
break if quote.parentNode.getAttribute('style') is 'font-size: smaller;'
|
||||||
# Don't process >>>/b/.
|
# Don't process >>>/b/.
|
||||||
if qid = quote.hash[2..]
|
if qid = quote.hash[2..]
|
||||||
# Duplicate quotes get overwritten.
|
# Duplicate quotes get overwritten.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user