Fix Quote Inlining when the quote is at the end of the last line, after some text.
This commit is contained in:
parent
6a1985d6c3
commit
e3c4b66918
@ -2055,7 +2055,7 @@
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
root = this.parentNode.nodeName === 'FONT' ? this.parentNode : this.nextSibling;
|
root = this.parentNode.nodeName === 'FONT' ? this.parentNode : this.nextSibling ? this.nextSibling : this;
|
||||||
if (el = d.getElementById(id)) {
|
if (el = d.getElementById(id)) {
|
||||||
inline = quoteInline.table(id, el.innerHTML);
|
inline = quoteInline.table(id, el.innerHTML);
|
||||||
if (this.className === 'backlink') {
|
if (this.className === 'backlink') {
|
||||||
|
|||||||
@ -2,6 +2,7 @@ github
|
|||||||
- mayhem:
|
- mayhem:
|
||||||
- Thread Stats performance fix, especially on long threads
|
- Thread Stats performance fix, especially on long threads
|
||||||
- Sauce performance improvement
|
- Sauce performance improvement
|
||||||
|
- fix Quote Inlining for a pattern
|
||||||
- aeosynth:
|
- aeosynth:
|
||||||
- fix an upgrading problem (1.x -> 2.x)
|
- fix an upgrading problem (1.x -> 2.x)
|
||||||
|
|
||||||
|
|||||||
@ -1606,7 +1606,7 @@ quoteInline =
|
|||||||
for inlined in $$ 'input', table
|
for inlined in $$ 'input', table
|
||||||
$.show $.x 'ancestor::table[1]', d.getElementById inlined.name
|
$.show $.x 'ancestor::table[1]', d.getElementById inlined.name
|
||||||
return
|
return
|
||||||
root = if @parentNode.nodeName is 'FONT' then @parentNode else @nextSibling
|
root = if @parentNode.nodeName is 'FONT' then @parentNode else if @nextSibling then @nextSibling else @
|
||||||
if el = d.getElementById id
|
if el = d.getElementById id
|
||||||
inline = quoteInline.table id, el.innerHTML
|
inline = quoteInline.table id, el.innerHTML
|
||||||
if @className is 'backlink'
|
if @className is 'backlink'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user