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;
|
||||
}
|
||||
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)) {
|
||||
inline = quoteInline.table(id, el.innerHTML);
|
||||
if (this.className === 'backlink') {
|
||||
|
||||
@ -2,6 +2,7 @@ github
|
||||
- mayhem:
|
||||
- Thread Stats performance fix, especially on long threads
|
||||
- Sauce performance improvement
|
||||
- fix Quote Inlining for a pattern
|
||||
- aeosynth:
|
||||
- fix an upgrading problem (1.x -> 2.x)
|
||||
|
||||
|
||||
@ -1606,7 +1606,7 @@ quoteInline =
|
||||
for inlined in $$ 'input', table
|
||||
$.show $.x 'ancestor::table[1]', d.getElementById inlined.name
|
||||
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
|
||||
inline = quoteInline.table id, el.innerHTML
|
||||
if @className is 'backlink'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user