Fix thread related bugs when the OP is deleted.
This commit is contained in:
parent
021003ca94
commit
61a87ca2f5
@ -1177,7 +1177,7 @@
|
||||
node = div.nextSibling;
|
||||
}
|
||||
node = node.nextElementSibling;
|
||||
if (node.nodeName === 'SPAN') {
|
||||
if (node.nodeName === 'SPAN' || 'IMG') {
|
||||
return threading.thread(node);
|
||||
}
|
||||
}
|
||||
|
||||
@ -914,7 +914,7 @@ threading =
|
||||
node = div.nextSibling
|
||||
|
||||
node = node.nextElementSibling #skip text node
|
||||
if node.nodeName is 'SPAN'
|
||||
if node.nodeName is 'SPAN' or 'IMG'
|
||||
threading.thread node
|
||||
|
||||
threadHiding =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user